Don't need to export the selenium server port anymore on CI. Yay!

This commit is contained in:
Sarah Mei 2011-05-28 22:22:06 -07:00
parent 6d6445b00a
commit 8de71d41e4

View file

@ -4,7 +4,7 @@ namespace :cruise do
puts "Starting virtual display..." puts "Starting virtual display..."
`sh -e /etc/init.d/xvfb start` `sh -e /etc/init.d/xvfb start`
puts "Starting specs..." puts "Starting specs..."
system('export DISPLAY=:99.0 && export SELENIUM_SERVER_PORT=53809 && bundle exec rake') system('export DISPLAY=:99.0 && bundle exec rake')
exit_status = $?.exitstatus exit_status = $?.exitstatus
puts "Stopping virtual display..." puts "Stopping virtual display..."
`sh -e /etc/init.d/xvfb stop` `sh -e /etc/init.d/xvfb stop`