diff options
-rw-r--r-- | spec/routing/routing_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb index 52a9e113e31..a2d2a35140c 100644 --- a/spec/routing/routing_spec.rb +++ b/spec/routing/routing_spec.rb @@ -244,8 +244,7 @@ describe "Groups", "routing" do get("/groups/1").should route_to('groups#show', id: '1') end - it "redirect" do - # get("/groups/1").should redirect_to("/groups/1") + it "also display group#show on the short path" do get("/1").should route_to('groups#show', id: '1') end end |