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
db373390
Commit
db373390
authored
Apr 03, 2020
by
Rajendra Kadam
Committed by
Igor Drozdov
Apr 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate show spec from admin routing
parent
53801134
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
.rubocop.yml
.rubocop.yml
+0
-1
changelogs/unreleased/admin-routing-spec.yml
changelogs/unreleased/admin-routing-spec.yml
+5
-0
spec/routing/admin_routing_spec.rb
spec/routing/admin_routing_spec.rb
+0
-4
No files found.
.rubocop.yml
View file @
db373390
...
@@ -400,7 +400,6 @@ RSpec/RepeatedExample:
...
@@ -400,7 +400,6 @@ RSpec/RepeatedExample:
-
'
spec/lib/gitlab/closing_issue_extractor_spec.rb'
-
'
spec/lib/gitlab/closing_issue_extractor_spec.rb'
-
'
spec/lib/gitlab/danger/changelog_spec.rb'
-
'
spec/lib/gitlab/danger/changelog_spec.rb'
-
'
spec/lib/gitlab/import_export/project/relation_factory_spec.rb'
-
'
spec/lib/gitlab/import_export/project/relation_factory_spec.rb'
-
'
spec/routing/admin_routing_spec.rb'
-
'
spec/rubocop/cop/migration/update_large_table_spec.rb'
-
'
spec/rubocop/cop/migration/update_large_table_spec.rb'
-
'
spec/services/notification_service_spec.rb'
-
'
spec/services/notification_service_spec.rb'
-
'
spec/services/web_hook_service_spec.rb'
-
'
spec/services/web_hook_service_spec.rb'
...
...
changelogs/unreleased/admin-routing-spec.yml
0 → 100644
View file @
db373390
---
title
:
Remove duplicate show spec in admin routing
merge_request
:
28790
author
:
Rajendra Kadam
type
:
changed
spec/routing/admin_routing_spec.rb
View file @
db373390
...
@@ -40,10 +40,6 @@ describe Admin::UsersController, "routing" do
...
@@ -40,10 +40,6 @@ describe Admin::UsersController, "routing" do
expect
(
get
(
"/admin/users/1/edit"
)).
to
route_to
(
'admin/users#edit'
,
id:
'1'
)
expect
(
get
(
"/admin/users/1/edit"
)).
to
route_to
(
'admin/users#edit'
,
id:
'1'
)
end
end
it
"to #show"
do
expect
(
get
(
"/admin/users/1"
)).
to
route_to
(
'admin/users#show'
,
id:
'1'
)
end
it
"to #update"
do
it
"to #update"
do
expect
(
put
(
"/admin/users/1"
)).
to
route_to
(
'admin/users#update'
,
id:
'1'
)
expect
(
put
(
"/admin/users/1"
)).
to
route_to
(
'admin/users#update'
,
id:
'1'
)
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