Commit ebaf7d83 authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'vij-cleanup-snippet-examples' into 'master'

Remove unused spec shared example for snippets

See merge request gitlab-org/gitlab!35719
parents 5a340582 f5bd8e9c
...@@ -74,13 +74,6 @@ RSpec.shared_examples 'update with repository actions' do ...@@ -74,13 +74,6 @@ RSpec.shared_examples 'update with repository actions' do
end end
end end
RSpec.shared_examples 'snippet response without repository URLs' do
it 'skip inclusion of repository URLs' do
expect(json_response).not_to have_key('ssh_url_to_repo')
expect(json_response).not_to have_key('http_url_to_repo')
end
end
RSpec.shared_examples 'snippet blob content' do RSpec.shared_examples 'snippet blob content' do
it 'returns content from repository' do it 'returns content from repository' do
subject subject
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment