From 61ef72e5d1219646778005422e423ebe95433bbb Mon Sep 17 00:00:00 2001 From: GitLab Date: Tue, 15 Apr 2014 10:40:37 +0200 Subject: [PATCH] Fixes to group route tests, thanks DZ --- spec/routing/routing_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 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