diff options
author | Yuri Feldman <yuri@tbqh.net> | 2013-02-12 18:56:53 +1100 |
---|---|---|
committer | Yuri Feldman <yuri@tbqh.net> | 2013-02-12 19:28:37 +1100 |
commit | 918e2213e71cb1a6c0cc7fd4249c51db90a2614c (patch) | |
tree | d68a9b79e6043dad48f633286269c7649ff4b8ba /spec/routing | |
parent | d138b3de4bf7c238e09bb56e2de8b46ba756bc5f (diff) | |
download | gitlab-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.rb | 1 |
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 |