Commit 918e2213e71cb1a6c0cc7fd4249c51db90a2614c

Authored by Yuri Feldman
1 parent d138b3de

Test to show incorrect routing to Compare controller

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
spec/routing/project_routing_spec.rb
... ... @@ -392,6 +392,7 @@ end
392 392 describe BlobController, "routing" do
393 393 it "to #show" do
394 394 get("/gitlabhq/blob/master/app/models/project.rb").should route_to('blob#show', project_id: 'gitlabhq', id: 'master/app/models/project.rb')
  395 + get("/gitlabhq/blob/master/app/models/compare.rb").should route_to('blob#show', project_id: 'gitlabhq', id: 'master/app/models/compare.rb')
395 396 end
396 397 end
397 398  
... ...