Fixes to group route tests, thanks DZ

This commit is contained in:
GitLab 2014-04-15 10:40:37 +02:00
parent bb7df7663a
commit 61ef72e5d1

View file

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