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:
rgarcia
2017-09-19 14:17:10 +02:00
committed by Bertocq
parent 882723a58a
commit 3105bd9ee1

View File

@@ -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: