summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-02-14 18:14:40 +0100
committerRémy Coutable <remy@rymai.me>2018-02-14 19:22:05 +0100
commitd73458bbc51acf98bc2a2d4d86e10136ab75ca31 (patch)
tree30f48b810e4132e4fd5f070f493c67523af76fab /features
parentdd633bc1888453a07474d045eca91a9e66302ce0 (diff)
downloadgitlab-ce-d73458bbc51acf98bc2a2d4d86e10136ab75ca31.tar.gz
Port some changes from gitlab-ee!4532 back to CEce-rc/move-more-ee-only-spec-files
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'features')
-rw-r--r--features/support/env.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index 7f5b4c1c11b..15211995918 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -20,15 +20,16 @@ Dir["#{Rails.root}/features/steps/shared/*.rb"].each { |file| require file }
Spinach.hooks.before_run do
include RSpec::Mocks::ExampleMethods
+ include ActiveJob::TestHelper
+ include FactoryBot::Syntax::Methods
+ include GitlabRoutingHelper
+
RSpec::Mocks.setup
TestEnv.init(mailer: false)
# skip pre-receive hook check so we can use
# web editor and merge
TestEnv.disable_pre_receive
-
- include FactoryBot::Syntax::Methods
- include GitlabRoutingHelper
end
Spinach.hooks.after_scenario do |scenario_data, step_definitions|