Skip to content

Commit

Permalink
Fix RSpec 3.12 kwargs.
Browse files Browse the repository at this point in the history
  • Loading branch information
voxik committed Nov 4, 2022
1 parent cc8d97a commit 6867cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/guard/notifier_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6867cd1

Please sign in to comment.