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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
d69f0ecf
Commit
d69f0ecf
authored
Oct 03, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rubocop failures
parent
800a5f8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
spec/controllers/projects/registry/tags_controller_spec.rb
spec/controllers/projects/registry/tags_controller_spec.rb
+8
-8
No files found.
spec/controllers/projects/registry/tags_controller_spec.rb
View file @
d69f0ecf
...
...
@@ -15,7 +15,7 @@ describe Projects::Registry::TagsController do
describe
'GET index'
do
let
(
:tags
)
do
40
.
times
.
map
{
|
i
|
"tag
#{
i
}
"
}
Array
.
new
(
40
)
{
|
i
|
"tag
#{
i
}
"
}
end
before
do
...
...
@@ -66,9 +66,9 @@ describe Projects::Registry::TagsController do
def
get_tags
get
:index
,
namespace_id:
project
.
namespace
,
project_id:
project
,
repository_id:
repository
,
format: :json
project_id:
project
,
repository_id:
repository
,
format: :json
end
end
...
...
@@ -101,10 +101,10 @@ describe Projects::Registry::TagsController do
def
destroy_tag
(
name
)
post
:destroy
,
namespace_id:
project
.
namespace
,
project_id:
project
,
repository_id:
repository
,
id:
name
,
format: :json
project_id:
project
,
repository_id:
repository
,
id:
name
,
format: :json
end
end
end
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