spec/unit/loga/rack/logger_spec.rb in loga-1.1.0 vs spec/unit/loga/rack/logger_spec.rb in loga-1.1.1

- old
+ new

@@ -55,10 +55,10 @@ let(:exception) { StandardError.new } let(:logged_exception) { nil } let(:response_status) { 200 } context 'when an exception is raised' do - let(:app) { ->(_env) { fail exception } } + let(:app) { ->(_env) { raise exception } } it 'does not rescue the exception' do expect { subject.call(env) }.to raise_error(StandardError) end end