Commit 3515be7b authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'tc-sh-fix-issue-5461-ce' into 'master'

Clean the test path after each spec run

See merge request gitlab-org/gitlab-ce!18035
parents c9a4bd24 d7dc9ad1
...@@ -97,6 +97,10 @@ RSpec.configure do |config| ...@@ -97,6 +97,10 @@ RSpec.configure do |config|
TestEnv.init TestEnv.init
end end
config.after(:all) do
TestEnv.clean_test_path
end
config.before(:example) do config.before(:example) do
# Skip pre-receive hook check so we can use the web editor and merge. # Skip pre-receive hook check so we can use the web editor and merge.
allow_any_instance_of(Gitlab::Git::Hook).to receive(:trigger).and_return([true, nil]) allow_any_instance_of(Gitlab::Git::Hook).to receive(:trigger).and_return([true, nil])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment