summaryrefslogtreecommitdiff
path: root/features/support/env.rb
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-09-10 08:35:03 -0700
committerNihad Abbasov <narkoz.2008@gmail.com>2012-09-10 08:35:03 -0700
commit79eb5ab396690c613ea6e13c3c941ba1fa80f217 (patch)
treefab5ebc2f33214da4b44d2dd172f4887f2b0a6f8 /features/support/env.rb
parentef4e9c24d3dc870eb194591522dda6ec8dde7192 (diff)
downloadgitlab-ce-79eb5ab396690c613ea6e13c3c941ba1fa80f217.tar.gz
refactor feature steps
Diffstat (limited to 'features/support/env.rb')
-rw-r--r--features/support/env.rb5
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!