Commit 61ef72e5d1219646778005422e423ebe95433bbb

Authored by GitLab
1 parent bb7df766

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,8 +244,7 @@ describe "Groups", "routing" do
244 get("/groups/1").should route_to('groups#show', id: '1') 244 get("/groups/1").should route_to('groups#show', id: '1')
245 end 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 get("/1").should route_to('groups#show', id: '1') 248 get("/1").should route_to('groups#show', id: '1')
250 end 249 end
251 end 250 end