Commit 61ef72e5d1219646778005422e423ebe95433bbb
1 parent
bb7df766
Exists in
spb-stable
and in
3 other branches
Fixes to group route tests, thanks DZ
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
spec/routing/routing_spec.rb
... | ... | @@ -244,8 +244,7 @@ describe "Groups", "routing" do |
244 | 244 | get("/groups/1").should route_to('groups#show', id: '1') |
245 | 245 | end |
246 | 246 | |
247 | - it "redirect" do | |
248 | - # get("/groups/1").should redirect_to("/groups/1") | |
247 | + it "also display group#show on the short path" do | |
249 | 248 | get("/1").should route_to('groups#show', id: '1') |
250 | 249 | end |
251 | 250 | end | ... | ... |