From f532d05d9cb7620c38d7e460893e5cc67c44b594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serge=20H=C3=A4nni?= Date: Mon, 21 Aug 2023 11:12:49 +0200 Subject: [PATCH] Fix warning about expecting a raised error --- spec/ioki/endpoints/endpoint_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ioki/endpoints/endpoint_spec.rb b/spec/ioki/endpoints/endpoint_spec.rb index 4637a542..a2cfa13b 100644 --- a/spec/ioki/endpoints/endpoint_spec.rb +++ b/spec/ioki/endpoints/endpoint_spec.rb @@ -13,7 +13,7 @@ class Bread < Base it 'succeeds with required arguments' do expect do described_class.new('bread', action: 'get', request_method: :get, path: ['bakery']) - end.not_to raise_error ArgumentError + end.not_to raise_error end end