diff --git a/features/support/env.rb b/features/support/env.rb index 67660777842078e747b089c2eb0d59a8b7d193d2..be17065ccfd728ddb1c1b171dd75fa901e003e0d 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