diff options
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3c318a4be82..dd008ed02ad 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -48,8 +48,11 @@ Spork.prefork do # instead of true. config.use_transactional_fixtures = false - config.before do - TestEnv.init(observers: false) + config.before(:suite) do + TestEnv.init(observers: false, init_repos: true, repos: false) + end + config.before(:each) do + TestEnv.setup_stubs end end end |