Test to show incorrect routing to Compare controller
This commit is contained in:
parent
d138b3de4b
commit
918e2213e7
1 changed files with 1 additions and 0 deletions
|
@ -392,6 +392,7 @@ end
|
||||||
describe BlobController, "routing" do
|
describe BlobController, "routing" do
|
||||||
it "to #show" do
|
it "to #show" do
|
||||||
get("/gitlabhq/blob/master/app/models/project.rb").should route_to('blob#show', project_id: 'gitlabhq', id: 'master/app/models/project.rb')
|
get("/gitlabhq/blob/master/app/models/project.rb").should route_to('blob#show', project_id: 'gitlabhq', id: 'master/app/models/project.rb')
|
||||||
|
get("/gitlabhq/blob/master/app/models/compare.rb").should route_to('blob#show', project_id: 'gitlabhq', id: 'master/app/models/compare.rb')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue