diff options
author | Josef Strzibny <strzibny@strzibny.name> | 2016-05-04 00:32:14 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-07-26 12:06:42 +0200 |
commit | 34a1e9633fa74c509a408c1ab8cf80de9e2e125c (patch) | |
tree | b9487652221a67da163c1b96209cf45ca5a2744a /spec/routing/routing_spec.rb | |
parent | e9946f19a5af84b13fc8f21bdffa0689fd93f6c3 (diff) | |
download | gitlab-ce-34a1e9633fa74c509a408c1ab8cf80de9e2e125c.tar.gz |
Clean up unused routes
Diffstat (limited to 'spec/routing/routing_spec.rb')
-rw-r--r-- | spec/routing/routing_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb index 0a52c1ab933..1d4df9197f6 100644 --- a/spec/routing/routing_spec.rb +++ b/spec/routing/routing_spec.rb @@ -176,18 +176,10 @@ describe Profiles::KeysController, "routing" do expect(post("/profile/keys")).to route_to('profiles/keys#create') end - it "to #edit" do - expect(get("/profile/keys/1/edit")).to route_to('profiles/keys#edit', id: '1') - end - it "to #show" do expect(get("/profile/keys/1")).to route_to('profiles/keys#show', id: '1') end - it "to #update" do - expect(put("/profile/keys/1")).to route_to('profiles/keys#update', id: '1') - end - it "to #destroy" do expect(delete("/profile/keys/1")).to route_to('profiles/keys#destroy', id: '1') end |