diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-02-12 19:48:42 +0100 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-02-12 19:48:42 +0100 |
commit | 5bb743efec0043d79ac508503c9e28bee5fae48f (patch) | |
tree | fd5b6242e547ffa0e3656b5ca5d12891abb76598 /features/support | |
parent | 940a402b6e015cde1b3513808cb9ac7f0a3bec8c (diff) | |
download | gitlab-ce-5bb743efec0043d79ac508503c9e28bee5fae48f.tar.gz |
Fixed tests for spinach
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Diffstat (limited to 'features/support')
-rw-r--r-- | features/support/env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/env.rb b/features/support/env.rb index 67660777842..be17065ccfd 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -47,8 +47,8 @@ Spinach.hooks.after_scenario do end Spinach.hooks.before_run do + include RSpec::Mocks::ExampleMethods TestEnv.init(mailer: false) - RSpec::Mocks::setup self include FactoryGirl::Syntax::Methods end |