summaryrefslogtreecommitdiff
path: root/qa/qa/resource
diff options
context:
space:
mode:
authorWalmyr <wlsf82@gmail.com>2019-01-16 17:55:15 +0000
committerRémy Coutable <remy@rymai.me>2019-01-16 17:55:15 +0000
commit14165f3a261e716318027ef559171c5ae6bc31ea (patch)
treebbaa2a327cf825f14e32c25eb49c6662d40f420a /qa/qa/resource
parent1ffc123d79d38375caea9a5c4d5a012d95cad5a7 (diff)
downloadgitlab-ce-14165f3a261e716318027ef559171c5ae6bc31ea.tar.gz
Add test case to check that branches are correctly listed after CRUD operations
Diffstat (limited to 'qa/qa/resource')
-rw-r--r--qa/qa/resource/repository/push.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/resource/repository/push.rb b/qa/qa/resource/repository/push.rb
index c14d97ff7fb..f33aa0acef0 100644
--- a/qa/qa/resource/repository/push.rb
+++ b/qa/qa/resource/repository/push.rb
@@ -64,7 +64,7 @@ module QA
repository.configure_identity(username, email)
if new_branch
- repository.checkout_new_branch(branch_name)
+ repository.checkout(branch_name, new_branch: true)
else
repository.checkout(branch_name)
end