added artists, comments
This commit is contained in:
7
test/factories/artist.rb
Normal file
7
test/factories/artist.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
Factory.define(:artist) do |f|
|
||||
f.name {Faker::Name.first_name}
|
||||
f.creator {|x| x.association(:user)}
|
||||
f.updater_id {|x| x.creator_id}
|
||||
f.updater_ip_addr "127.0.0.1"
|
||||
f.is_active true
|
||||
end
|
||||
Reference in New Issue
Block a user