diff options
author | GitLab <gitlab@localhost> | 2014-04-15 12:40:37 +0400 |
---|---|---|
committer | GitLab <gitlab@localhost> | 2014-04-15 12:40:37 +0400 |
commit | 61ef72e5d1219646778005422e423ebe95433bbb (patch) | |
tree | 71782230936287c9851182cc2385f20575c84901 | |
parent | bb7df7663a8952d60abea015f823b7acbc8c49c2 (diff) |
Fixes to group route tests, thanks DZ
-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 |