Commit 0afcaaeb authored by Rémy Coutable's avatar Rémy Coutable

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

Clean the test path after each spec run

Closes #5461

See merge request gitlab-org/gitlab-ee!5141
parents e46cd8b5 33795327
......@@ -111,6 +111,10 @@ RSpec.configure do |config|
end
# EE-specific stop
config.after(:all) do
TestEnv.clean_test_path
end
config.before(:example) do
# 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])
......
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