Commit ac6e297e authored by Igor Drozdov's avatar Igor Drozdov

Merge branch 'admin-routing-spec' into 'master'

REmove duplicate show spec from admin routing

See merge request gitlab-org/gitlab!28790
parents 994cb7e7 db373390
......@@ -400,7 +400,6 @@ RSpec/RepeatedExample:
- 'spec/lib/gitlab/closing_issue_extractor_spec.rb'
- 'spec/lib/gitlab/danger/changelog_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/services/notification_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
expect(get("/admin/users/1/edit")).to route_to('admin/users#edit', id: '1')
end
it "to #show" do
expect(get("/admin/users/1")).to route_to('admin/users#show', id: '1')
end
it "to #update" do
expect(put("/admin/users/1")).to route_to('admin/users#update', id: '1')
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