From 07c216f31bbc794bc13db84ed83b0b749f9a7fc5 Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Sat, 30 Oct 2010 16:31:36 -0700 Subject: [PATCH] Putting the jasmine back in CI - changing selenium to be an external process. --- lib/tasks/cruise.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/cruise.rake b/lib/tasks/cruise.rake index 219f735f0..e3a7a65a1 100644 --- a/lib/tasks/cruise.rake +++ b/lib/tasks/cruise.rake @@ -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