Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-06-10 18:43:25 +0300
committerSean McGivern <sean@gitlab.com>2016-06-13 13:05:22 +0300
commitb9977525394ac714e31c1751690c7b993eb8d830 (patch)
treef6530492505b7a2a9c1c8fbd8c35677ab79dbc08 /spec/features
parent747a167a2dce3175102e4aff78504c72178cc5a5 (diff)
Only show branches for revert / cherry-pick
Tags are immutable, so we can't add a commit to either revert or cherry-pick another commit to them.
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/commits/cherry_pick_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/features/projects/commits/cherry_pick_spec.rb b/spec/features/projects/commits/cherry_pick_spec.rb
index 0559b02f321..f88c0616b52 100644
--- a/spec/features/projects/commits/cherry_pick_spec.rb
+++ b/spec/features/projects/commits/cherry_pick_spec.rb
@@ -16,6 +16,7 @@ describe 'Cherry-pick Commits' do
it do
visit namespace_project_commit_path(project.namespace, project, master_pickable_commit.id)
find("a[href='#modal-cherry-pick-commit']").click
+ expect(page).not_to have_content('v1.0.0') # Only branches, not tags
page.within('#modal-cherry-pick-commit') do
uncheck 'create_merge_request'
click_button 'Cherry-pick'