summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGitLab <gitlab@localhost>2014-04-15 10:40:37 +0200
committerGitLab <gitlab@localhost>2014-04-15 10:40:37 +0200
commit61ef72e5d1219646778005422e423ebe95433bbb (patch)
tree71782230936287c9851182cc2385f20575c84901 /spec
parentbb7df7663a8952d60abea015f823b7acbc8c49c2 (diff)
downloadgitlab-ce-61ef72e5d1219646778005422e423ebe95433bbb.tar.gz
Fixes to group route tests, thanks DZ
Diffstat (limited to 'spec')
-rw-r--r--spec/routing/routing_spec.rb3
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