Commit db373390 authored by Rajendra Kadam's avatar Rajendra Kadam Committed by Igor Drozdov

Remove duplicate show spec from admin routing

parent 53801134
...@@ -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'
......
---
title: Remove duplicate show spec in admin routing
merge_request: 28790
author: Rajendra Kadam
type: changed
...@@ -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
......
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