Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f5bd8e9c
Commit
f5bd8e9c
authored
Jul 01, 2020
by
Vijay Hawoldar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused spec shared example for snippets
parent
318a5f9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
spec/support/shared_examples/requests/snippet_shared_examples.rb
...pport/shared_examples/requests/snippet_shared_examples.rb
+0
-7
No files found.
spec/support/shared_examples/requests/snippet_shared_examples.rb
View file @
f5bd8e9c
...
...
@@ -74,13 +74,6 @@ RSpec.shared_examples 'update with repository actions' do
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
it
'returns content from repository'
do
subject
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment