summaryrefslogtreecommitdiff
path: root/spec/routing
diff options
context:
space:
mode:
authorYuri Feldman <yuri@tbqh.net>2013-02-12 18:56:53 +1100
committerYuri Feldman <yuri@tbqh.net>2013-02-12 19:28:37 +1100
commit918e2213e71cb1a6c0cc7fd4249c51db90a2614c (patch)
treed68a9b79e6043dad48f633286269c7649ff4b8ba /spec/routing
parentd138b3de4bf7c238e09bb56e2de8b46ba756bc5f (diff)
downloadgitlab-ce-918e2213e71cb1a6c0cc7fd4249c51db90a2614c.tar.gz
Test to show incorrect routing to Compare controller
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/project_routing_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb
index f94bedc79a1..9cf5d91349f 100644
--- a/spec/routing/project_routing_spec.rb
+++ b/spec/routing/project_routing_spec.rb
@@ -392,6 +392,7 @@ end
describe BlobController, "routing" 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/compare.rb").should route_to('blob#show', project_id: 'gitlabhq', id: 'master/app/models/compare.rb')
end
end