diff options
Diffstat (limited to 'spec/routing/routes_routing_spec.rb')
| -rw-r--r-- | spec/routing/routes_routing_spec.rb | 8 | 
1 files changed, 1 insertions, 7 deletions
| diff --git a/spec/routing/routes_routing_spec.rb b/spec/routing/routes_routing_spec.rb index 4635603d4..311de9f39 100644 --- a/spec/routing/routes_routing_spec.rb +++ b/spec/routing/routes_routing_spec.rb @@ -3,16 +3,10 @@ RSpec.describe "routes for Routes", type: :routing do      let( :controller ){ {controller: 'routes', referential_id: ':referential_id', line_id: ':line_id', id: ':id'}  } -    it 'with method get to #duplicate' do -      expect( -        get: '/referentials/:referential_id/lines/:line_id/routes/:id/duplicate' -      ).to route_to controller.merge(action: 'duplicate') -    end -      it 'with method post to #post_duplicate' do        expect(          post: '/referentials/:referential_id/lines/:line_id/routes/:id/duplicate' -      ).to route_to controller.merge(action: 'post_duplicate') +      ).to route_to controller.merge(action: 'duplicate')      end    end  end | 
