spec/subroute_spec.rb in lookout-rack-utils-3.8.0.39 vs spec/subroute_spec.rb in lookout-rack-utils-4.0.0.44
- old
+ new
@@ -91,10 +91,10 @@
context 'to an invalid verb' do
subject(:subrouted) { subroute!('/test_delete_invalid', :request_path => 'DELATE') }
it 'should throw an error' do
- expect { subrouted }.to raise_error
+ expect { subrouted }.to raise_error NoMethodError
end
end
context 'with multiple subroutes' do
subject(:subrouted) { get '/multiroute' }