summaryrefslogtreecommitdiff
path: root/spec/helpers/commits_helper_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-01 15:09:52 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-01 15:09:52 +0000
commit41aebff8ec728c167298aa44e037d8e324e00e8d (patch)
treef51c379dd4b78f9ecb57175e9dc073d6debe74e5 /spec/helpers/commits_helper_spec.rb
parent8c438dd7a6063d7f59bce4d79cc7ca49a31a8346 (diff)
downloadgitlab-ce-41aebff8ec728c167298aa44e037d8e324e00e8d.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers/commits_helper_spec.rb')
-rw-r--r--spec/helpers/commits_helper_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/helpers/commits_helper_spec.rb b/spec/helpers/commits_helper_spec.rb
index 01493b0bad9..4e94636ba45 100644
--- a/spec/helpers/commits_helper_spec.rb
+++ b/spec/helpers/commits_helper_spec.rb
@@ -205,16 +205,6 @@ RSpec.describe CommitsHelper do
{ id: forked_project.id.to_s, name: forked_project.full_path, refsUrl: refs_project_path(forked_project) }
])
end
-
- context 'pick_into_project is disabled' do
- before do
- stub_feature_flags(pick_into_project: false)
- end
-
- it 'does not calculate target projects' do
- expect(helper.cherry_pick_projects_data(project)).to eq([])
- end
- end
end
describe "#commit_options_dropdown_data" do