Putting the jasmine back in CI - changing selenium to be an external process.
This commit is contained in:
parent
2268cd204c
commit
07c216f31b
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ namespace :cruise do
|
|||
desc "Run all specs and features"
|
||||
task :cruise => :environment do
|
||||
system('/etc/init.d/xvfb start')
|
||||
system('export DISPLAY=:99.0 && bundle exec rake no-jasmine')
|
||||
system('export DISPLAY=:99.0 && export SELENIUM_SERVER_PORT=53809 && bundle exec rake')
|
||||
exit_status = $?.exitstatus
|
||||
system('/etc/init.d/xvfb stop')
|
||||
raise "tests failed!" unless exit_status == 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue