Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 17949ffb rédigé par Benjamin Neff's avatar Benjamin Neff
Parcourir les fichiers

Match parameter with match_array to fix order mismatch

closes #7546
parent 4cb365a6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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))),
status_message,
[alice.id, bob.id]
).and_return([])
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter