summaryrefslogtreecommitdiff
path: root/features/support/env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/support/env.rb')
-rw-r--r--features/support/env.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index 672251af084..62c80b9c948 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -28,5 +28,9 @@ Spinach.hooks.before_run do
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 FactoryGirl::Syntax::Methods
end