fbf7b6cda7
The playground is enough
16 lines
354 B
Ruby
16 lines
354 B
Ruby
require "test_helper"
|
|
|
|
class Account::SedeableTest < ActiveSupport::TestCase
|
|
setup do
|
|
@account = Account.sole
|
|
end
|
|
|
|
test "setup_customer_template adds collections, cards, and comments" do
|
|
assert_changes -> { Collection.count } do
|
|
assert_changes -> { Card.count } do
|
|
@account.setup_customer_template
|
|
end
|
|
end
|
|
end
|
|
end
|