Commit 61ef72e5 authored by GitLab's avatar GitLab

Fixes to group route tests, thanks DZ

parent bb7df766
...@@ -244,8 +244,7 @@ describe "Groups", "routing" do ...@@ -244,8 +244,7 @@ describe "Groups", "routing" do
get("/groups/1").should route_to('groups#show', id: '1') get("/groups/1").should route_to('groups#show', id: '1')
end end
it "redirect" do it "also display group#show on the short path" do
# get("/groups/1").should redirect_to("/groups/1")
get("/1").should route_to('groups#show', id: '1') get("/1").should route_to('groups#show', id: '1')
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment