Match parameter with match_array to fix order mismatch

closes #7546
parent 4cb365a6
......@@ -14,7 +14,7 @@ describe Notifications::Mentioned do
it "calls filter_mentions on self" do
expect(TestNotification).to receive(:filter_mentions).with(
Mention.where(mentions_container: status_message, person: [alice, bob].map(&:person)),
match_array(Mention.where(mentions_container: status_message, person: [alice, bob].map(&:person))),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment