From a9039a8019adf3e2ce7546192b9bdb0c5a0ce648 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 9 Aug 2022 11:42:06 +0200 Subject: [PATCH] Prevent false positive for raised error --- spec/lib/runner/strategy/poseidon_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/runner/strategy/poseidon_spec.rb b/spec/lib/runner/strategy/poseidon_spec.rb index e3e24c26..3369a4d0 100644 --- a/spec/lib/runner/strategy/poseidon_spec.rb +++ b/spec/lib/runner/strategy/poseidon_spec.rb @@ -316,7 +316,7 @@ describe Runner::Strategy::Poseidon do let(:response_status) { 404 } it 'raises an error' do - expect { action.call }.not_to raise_error(Runner::Error::RunnerNotFound) + expect { action.call }.not_to raise_error end end