diff options
Diffstat (limited to 'qa/qa/resource/protected_branch.rb')
-rw-r--r-- | qa/qa/resource/protected_branch.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/resource/protected_branch.rb b/qa/qa/resource/protected_branch.rb index 51ea9d1c5b9..7eb5442a964 100644 --- a/qa/qa/resource/protected_branch.rb +++ b/qa/qa/resource/protected_branch.rb @@ -22,7 +22,7 @@ module QA Resource::Repository::Commit.fabricate_via_api! do |commit| commit.project = project commit.branch = branch_name - commit.start_branch = 'master' + commit.start_branch = project.default_branch commit.commit_message = 'Add new file' commit.add_files([ { file_path: "new_file-#{SecureRandom.hex(8)}.md", content: 'new file' } |