mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 04:18:49 +01:00
set configurations for using cucumber and selenium
if you want to run it, update your database.yml to include cucumber and selenium environments (like in the .tmpl) and run RAILS_ENV=selenium cucumber -p selenium
This commit is contained in:
parent
502e60c9a1
commit
8f349d3b6b
9 changed files with 60 additions and 20 deletions
6
features/support/selenium.rb
Normal file
6
features/support/selenium.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Webrat.configure do |config|
|
||||
config.mode = :selenium
|
||||
config.application_environment = :selenium
|
||||
end
|
||||
|
||||
Cucumber::Rails::World.use_transactional_fixtures = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue