Add columns

This commit is contained in:
Jorge Manrubia
2025-09-27 08:40:45 +02:00
parent f3959ced0d
commit 47eaecae31
5 changed files with 53 additions and 20 deletions
+9
View File
@@ -0,0 +1,9 @@
require "test_helper"
class ColumnTest < ActiveSupport::TestCase
test "creates column with default color when color not provided" do
column = collections(:writebook).columns.create!(name: "New Column")
assert_equal Card::DEFAULT_COLOR, column.color
end
end