diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-08-14 16:08:31 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-08-14 16:08:31 +0300 |
commit | 9649f9387a4ef3c40bc2720053b716c987255363 (patch) | |
tree | 9a6458ce801cd27dfa96f0971fcd7fd7c8a60df4 /features/support/env.rb | |
parent | 9011a3223448a68a77a599c6a38fb338ccfa3f1e (diff) |
Fix tests for web editor
Diffstat (limited to 'features/support/env.rb')
-rw-r--r-- | features/support/env.rb | 4 |
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 |