Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGitLab <gitlab@localhost>2014-04-15 12:40:37 +0400
committerGitLab <gitlab@localhost>2014-04-15 12:40:37 +0400
commit61ef72e5d1219646778005422e423ebe95433bbb (patch)
tree71782230936287c9851182cc2385f20575c84901 /spec
parentbb7df7663a8952d60abea015f823b7acbc8c49c2 (diff)
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