mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
More travis guesswork :(
http://stackoverflow.com/questions/20713471/capybaraelementnotfound-on-all-specs-only-on-travis
This commit is contained in:
parent
b798c5b117
commit
4d3ba9e4d1
1 changed files with 1 additions and 2 deletions
|
@ -13,7 +13,6 @@ env:
|
||||||
- MYSQL_USERNAME=travis APP_SECRET=2d3a08dfea079fe45bcb7f830b010eda
|
- MYSQL_USERNAME=travis APP_SECRET=2d3a08dfea079fe45bcb7f830b010eda
|
||||||
before_script:
|
before_script:
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- sh -e /etc/init.d/xvfb start
|
|
||||||
script:
|
script:
|
||||||
- RAILS_ENV=test bundle exec rake db:create db:migrate db:test:prepare
|
- RAILS_ENV=test bundle exec rake db:create db:migrate db:test:prepare
|
||||||
- RAILS_ENV=test bundle exec rspec spec
|
- RAILS_ENV=test xvfb-run --server-args="-screen 0 1280x1024x24" bundle exec rspec spec
|
Loading…
Reference in a new issue