spec/interceptors/retry/main_spec.rb in lhc-11.2.0 vs spec/interceptors/retry/main_spec.rb in lhc-12.0.0
- old
+ new
@@ -64,10 +64,10 @@
context 'ignore error' do
let(:status) { 404 }
it 'does not retry if the error is explicitly ignored' do
request_stub
- LHC.get('http://local.ch', retry: { max: 1 }, ignored_errors: [LHC::NotFound])
+ LHC.get('http://local.ch', retry: { max: 1 }, ignore: [LHC::NotFound])
expect(request_stub).to have_been_requested.times(1)
end
end
end