mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
13 lines
No EOL
491 B
Ruby
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 |