Files
fizzy/test/models/card/messages_test.rb
T
Jorge Manrubia b0aae3ad9e Reapply "Add a description field for cards"
This reverts commit a4cc143b09.
2025-04-21 16:45:24 +02:00

10 lines
267 B
Ruby

require "test_helper"
class Card::MessagesTest < ActiveSupport::TestCase
test "creating a card does not create a message by default" do
card = collections(:writebook).cards.create! creator: users(:kevin), title: "New"
assert_empty card.messages
end
end