Putting the jasmine back in CI - changing selenium to be an external process.

This commit is contained in:
Sarah Mei 2010-10-30 16:31:36 -07:00
parent 2268cd204c
commit 07c216f31b

View file

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