precompile assets in test environment
Usually the first spec that visits a page fails with a timeout. Hopefully it was due to having to compile assets at runtime and this helps to fix it
This commit is contained in:
@@ -8,6 +8,7 @@ before_script:
|
||||
- "for i in config/*.example; do cp \"$i\" \"${i/.example}\"; done"
|
||||
- bundle exec rake db:setup
|
||||
script:
|
||||
- "bundle exec rake assets:precompile RAILS_ENV=test"
|
||||
- "bundle exec rake knapsack:rspec"
|
||||
env:
|
||||
global:
|
||||
|
||||
Reference in New Issue
Block a user