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
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
......
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