diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-10 08:35:03 -0700 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-10 08:35:03 -0700 |
commit | 79eb5ab396690c613ea6e13c3c941ba1fa80f217 (patch) | |
tree | fab5ebc2f33214da4b44d2dd172f4887f2b0a6f8 /features/support/env.rb | |
parent | ef4e9c24d3dc870eb194591522dda6ec8dde7192 (diff) | |
download | gitlab-ce-79eb5ab396690c613ea6e13c3c941ba1fa80f217.tar.gz |
refactor feature steps
Diffstat (limited to 'features/support/env.rb')
-rw-r--r-- | features/support/env.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/features/support/env.rb b/features/support/env.rb index 7bd89801da1..9c6cef07298 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -5,11 +5,12 @@ require 'rspec' require 'database_cleaner' require 'spinach/capybara' -%w(gitolite_stub login_helpers stubbed_repository valid_commit).each do |f| +%w(gitolite_stub stubbed_repository valid_commit).each do |f| require Rails.root.join('spec', 'support', f) end -include LoginHelpers +Dir["#{Rails.root}/features/steps/shared/*.rb"].each {|file| require file} + include GitoliteStub WebMock.allow_net_connect! |