summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-31 19:24:53 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-31 19:24:53 +0300
commitb238b1544c391bbc60a7d38c30d98e05be786667 (patch)
tree8f94b6018882d2053000e719e671f7df46ae92e7 /spec/spec_helper.rb
parentee4643c732c3d91437e50d0c8486dbb8ea5b51b5 (diff)
downloadgitlab-ce-b238b1544c391bbc60a7d38c30d98e05be786667.tar.gz
Recreate tmp/tests on each test run
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 2181238ae9f..6934cabadfa 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -38,14 +38,7 @@ RSpec.configure do |config|
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.before(:suite) do
- TestEnv.init(init_repos: true, repos: false)
- end
- config.before(:each) do
- TestEnv.setup_stubs
+ TestEnv.init
end
end