Fixed tests for spinach
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
This commit is contained in:
parent
940a402b6e
commit
5bb743efec
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue