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"
|
- "for i in config/*.example; do cp \"$i\" \"${i/.example}\"; done"
|
||||||
- bundle exec rake db:setup
|
- bundle exec rake db:setup
|
||||||
script:
|
script:
|
||||||
|
- "bundle exec rake assets:precompile RAILS_ENV=test"
|
||||||
- "bundle exec rake knapsack:rspec"
|
- "bundle exec rake knapsack:rspec"
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|||||||
Reference in New Issue
Block a user