From 34a1e9633fa74c509a408c1ab8cf80de9e2e125c Mon Sep 17 00:00:00 2001 From: Josef Strzibny Date: Wed, 4 May 2016 00:32:14 +0200 Subject: Clean up unused routes --- spec/routing/routing_spec.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'spec/routing/routing_spec.rb') 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 -- cgit v1.2.1