diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 12:16:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 12:16:11 +0300 |
commit | edaa33dee2ff2f7ea3fac488d41558eb5f86d68c (patch) | |
tree | 11f143effbfeba52329fb7afbd05e6e2a3790241 /spec/models/repository_spec.rb | |
parent | d8a5691316400a0f7ec4f83832698f1988eb27c1 (diff) |
Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42
Diffstat (limited to 'spec/models/repository_spec.rb')
-rw-r--r-- | spec/models/repository_spec.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/models/repository_spec.rb b/spec/models/repository_spec.rb index 96cbdb468aa..e592a4964f5 100644 --- a/spec/models/repository_spec.rb +++ b/spec/models/repository_spec.rb @@ -2398,17 +2398,6 @@ RSpec.describe Repository do it 'returns nil when tag does not exists' do expect(repository.find_tag('does-not-exist')).to be_nil end - - context 'when find_tag_via_gitaly is disabled' do - it 'fetches all tags' do - stub_feature_flags(find_tag_via_gitaly: false) - - expect(Gitlab::GitalyClient) - .to receive(:call).with(anything, :ref_service, :find_all_tags, anything, anything).and_call_original - - expect(repository.find_tag('v1.1.0').name).to eq('v1.1.0') - end - end end describe '#avatar' do |