Taking jasmine out of CI for now - selenium server isn't reliably starting up during jasmine:ci

This commit is contained in:
Sarah Mei 2010-10-30 13:52:52 -07:00
parent 08a70e4980
commit 2268cd204c
2 changed files with 4 additions and 2 deletions

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')
system('export DISPLAY=:99.0 && bundle exec rake no-jasmine')
exit_status = $?.exitstatus
system('/etc/init.d/xvfb stop')
raise "tests failed!" unless exit_status == 0

View file

@ -1 +1,3 @@
task :default => [:cucumber, :spec, :'jasmine:ci']
task :default => [:cucumber, :spec, :'jasmine:ci']
task :'no-jasmine' => [:cucumber, :spec]