diff options
Diffstat (limited to 'spec/spec_helper.rb')
| -rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 8a01c930685..3c318a4be82 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -41,13 +41,15 @@ Spork.prefork do config.include FactoryGirl::Syntax::Methods config.include Devise::TestHelpers, type: :controller + config.include TestEnv + # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false # instead of true. config.use_transactional_fixtures = false config.before do - TestEnv.init + TestEnv.init(observers: false) end end end |
