From 6867cd1882cbde6877e5b1d1f945625ab41902c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Fri, 4 Nov 2022 18:16:53 +0100 Subject: [PATCH] Fix RSpec 3.12 kwargs. https://github.com/rspec/rspec-mocks/pull/1461 --- spec/lib/guard/notifier_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/guard/notifier_spec.rb b/spec/lib/guard/notifier_spec.rb index 9cf9a84b..3b14a027 100644 --- a/spec/lib/guard/notifier_spec.rb +++ b/spec/lib/guard/notifier_spec.rb @@ -62,7 +62,7 @@ context "with multiple parameters" do it "notifies" do expect(notifier).to receive(:notify) - .with("A", priority: 2, image: :failed) + .with("A", { priority: 2, image: :failed }) subject.notify("A", priority: 2, image: :failed) end end