diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-10 16:34:01 +0400 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-10 16:34:01 +0400 |
commit | 698500dd786cc931cabeb0f44087c0cd11bd0131 (patch) | |
tree | ca82be95d3b1eeb5dcd6a8e4fdb0d2b054bd4d91 /features/support | |
parent | 080bd12e167dceb3274bb488b7be787379d126b4 (diff) |
add spinach steps for project issues and source features
Diffstat (limited to 'features/support')
-rw-r--r-- | features/support/env.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/features/support/env.rb b/features/support/env.rb index 38d828a2a51..7bd89801da1 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -3,6 +3,7 @@ require './config/environment' require 'rspec' require 'database_cleaner' +require 'spinach/capybara' %w(gitolite_stub login_helpers stubbed_repository valid_commit).each do |f| require Rails.root.join('spec', 'support', f) @@ -12,6 +13,7 @@ include LoginHelpers include GitoliteStub WebMock.allow_net_connect! +Capybara.javascript_driver = :webkit DatabaseCleaner.strategy = :truncation Spinach.hooks.before_scenario { DatabaseCleaner.start } |