diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2014-12-11 17:07:12 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2014-12-11 17:07:12 +0300 |
commit | 65b858a7768b97f536891b9b9841376ea4638d92 (patch) | |
tree | 0e2950e9396c3458e63ba073eddc06c47180f2b7 /spec/routing/project_routing_spec.rb | |
parent | feb7c2bcce9c948377e135c33f9760cb79c3822c (diff) | |
parent | 1d0dfd50cc7a795b948bc19d701518681b3c9439 (diff) |
Merge branch 'show_files_with_diff_name' into 'master'
Show files named diff
Fixes #1749
See merge request !1318
Diffstat (limited to 'spec/routing/project_routing_spec.rb')
-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 e4652d1f836..e6505040317 100644 --- a/spec/routing/project_routing_spec.rb +++ b/spec/routing/project_routing_spec.rb @@ -417,6 +417,7 @@ describe Projects::BlobController, "routing" do it "to #show" do get("/gitlab/gitlabhq/blob/master/app/models/project.rb").should route_to('projects/blob#show', project_id: 'gitlab/gitlabhq', id: 'master/app/models/project.rb') get("/gitlab/gitlabhq/blob/master/app/models/compare.rb").should route_to('projects/blob#show', project_id: 'gitlab/gitlabhq', id: 'master/app/models/compare.rb') + get("/gitlab/gitlabhq/blob/master/app/models/diff.js").should route_to('projects/blob#show', project_id: 'gitlab/gitlabhq', id: 'master/app/models/diff.js') get("/gitlab/gitlabhq/blob/master/files.scss").should route_to('projects/blob#show', project_id: 'gitlab/gitlabhq', id: 'master/files.scss') end end |