Add columns
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user