summaryrefslogtreecommitdiff
path: root/spec/models/repository_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/repository_spec.rb')
-rw-r--r--spec/models/repository_spec.rb11
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