Files
fizzy/test/models/account/seedeable_test.rb
T
Jorge Manrubia 733bb4e6d7 Rename tests
2025-11-03 07:25:48 +01:00

24 lines
562 B
Ruby

require "test_helper"
class Account::SedeableTest < ActiveSupport::TestCase
setup do
@account = Account.sole
end
test "setup_basic_template adds collections" do
assert_changes -> { Collection.count } do
@account.setup_basic_template
end
end
test "setup_customer_template adds collections, cards, and comments" do
assert_changes -> { Collection.count } do
assert_changes -> { Card.count } do
assert_changes -> { Comment.count } do
@account.setup_customer_template
end
end
end
end
end