diff options
Diffstat (limited to 'features/support/env.rb')
-rw-r--r-- | features/support/env.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/features/support/env.rb b/features/support/env.rb index 8798e62ea72..d27a73edab8 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -51,4 +51,6 @@ Spinach.hooks.before_run do RSpec::Mocks::setup self include FactoryGirl::Syntax::Methods + MergeRequestObserver.any_instance.stub(current_user: create(:user)) end + |