diff options
Diffstat (limited to 'spec/routing/uploads_routing_spec.rb')
-rw-r--r-- | spec/routing/uploads_routing_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/routing/uploads_routing_spec.rb b/spec/routing/uploads_routing_spec.rb index 41646d1b515..9eb421ec7d0 100644 --- a/spec/routing/uploads_routing_spec.rb +++ b/spec/routing/uploads_routing_spec.rb @@ -39,12 +39,4 @@ RSpec.describe 'Uploads', 'routing' do expect(post("/uploads/#{model}?id=1")).not_to be_routable end end - - describe 'legacy paths' do - include RSpec::Rails::RequestExampleGroup - - it 'redirects project uploads to canonical path under project namespace' do - expect(get('/uploads/namespace/project/12345/test.png')).to redirect_to('/namespace/project/uploads/12345/test.png') - end - end end |