Fixes to group route tests, thanks DZ
This commit is contained in:
parent
bb7df7663a
commit
61ef72e5d1
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue