BigW Consortium Gitlab

Commit 71ad3d29 by Grzegorz Bizon

Clear test build storage directory before each example

parent 01f588ed
......@@ -7,11 +7,12 @@ RSpec.configure do |config|
Settings.gitlab_ci['builds_path'] = builds_path
end
config.before(:each) do
config.before(:all) do
FileUtils.mkdir_p(builds_path)
end
config.after(:each) do
config.before(:each) do
FileUtils.rm_rf(builds_path)
FileUtils.mkdir_p(builds_path)
end
end
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