tracks/features/support/selenium.rb
Reinier Balt e2841e31eb finish upgrade of selenium
these were manual cherry-picks of the rails upgrade work.
2010-07-27 23:32:22 +02:00

13 lines
No EOL
491 B
Ruby

if ENV["RAILS_ENV"] == "selenium"
puts "Configuring to use Selenium with Webrat for Cucumber stories"
Webrat.configure do |config|
config.mode = :selenium
config.application_environment = :selenium
config.selenium_browser_startup_timeout = 30
# use only if you run a separate selenium server instance and do not
# want webrat to start one for you
#config.selenium_server_address = "localhost"
end
Cucumber::Rails::World.use_transactional_fixtures = false
end