update factories + tests

This commit is contained in:
Albert Yi
2019-05-10 17:31:07 -07:00
parent 32b4e0a01e
commit 04edc3f533
26 changed files with 81 additions and 83 deletions

View File

@@ -1,7 +1,7 @@
FactoryBot.define do
factory(:artist) do
name {rand(1_000_000).to_s}
is_active true
name { rand(1_000_000).to_s }
is_active { true }
association :creator, factory: :user
end
end