diff options
author | Jose Corcuera <jzcorcuera@gmail.com> | 2016-01-06 09:54:43 -0500 |
---|---|---|
committer | Jose Corcuera <jzcorcuera@gmail.com> | 2016-01-06 09:54:43 -0500 |
commit | 0b2fa3bfa4bea00973ad6b8c3dfb8302d84fe4de (patch) | |
tree | 315444a90e1258be8e3feb4ad89e7b5e9ac36f90 /spec/routing | |
parent | 8b39b8cd54bb73b485ee6ea7fc5d3bbfbe07cd5d (diff) | |
download | gitlab-ce-0b2fa3bfa4bea00973ad6b8c3dfb8302d84fe4de.tar.gz |
Fix problem with projects ending with .keys #3076
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 82f62a8709c..f0f0fbe619c 100644 --- a/spec/routing/project_routing_spec.rb +++ b/spec/routing/project_routing_spec.rb @@ -80,6 +80,7 @@ describe ProjectsController, 'routing' do it 'to #show' do expect(get('/gitlab/gitlabhq')).to route_to('projects#show', namespace_id: 'gitlab', id: 'gitlabhq') + expect(get('/gitlab/gitlabhq.keys')).to route_to('projects#show', namespace_id: 'gitlab', id: 'gitlabhq.keys') end it 'to #update' do |