Commit 42cc15c9 authored by Mark Lapierre's avatar Mark Lapierre

Create project with readme to avoid race condition

This is an attempt to avoid a possible race condition by allowing branch
protection to be implemented as early as possible before it's removed.
parent 0a448da2
......@@ -9,6 +9,7 @@ module QA
let(:project) do
Resource::Project.fabricate_via_api! do |project|
project.name = 'file_locking'
project.initialize_with_readme = true
end
end
......@@ -19,6 +20,7 @@ module QA
push.project = project
push.file_name = 'file'
push.file_content = SecureRandom.hex(100000)
push.new_branch = false
end
add_to_project user: user_one
......
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