diff --git a/spec/factiva/monitoring_spec.rb b/spec/factiva/monitoring_spec.rb index ae16699..6efa9be 100644 --- a/spec/factiva/monitoring_spec.rb +++ b/spec/factiva/monitoring_spec.rb @@ -173,7 +173,7 @@ module Factiva it "raises Factiva::TimeoutError for CircuitBreaker" do expect { - subject.get_matches({ case_id: "id" }) + subject.get_matches(case_id: "id") }.to raise_error(Factiva::TimeoutError) end end