Add missing test

This commit is contained in:
Jorge Manrubia
2025-04-24 12:37:25 +02:00
parent aee7f4f886
commit e8cffd0717
+7
View File
@@ -12,4 +12,11 @@ class MentionsTest < ActiveSupport::TestCase
end
end
end
test "mentionees are added as watchers of the card" do
perform_enqueued_jobs only: Mention::CreateJob do
card = collections(:writebook).cards.create title: "Cleanup", description: "Did you finish up with the cleanup @kevin?"
assert card.watchers.include?(users(:kevin))
end
end
end