fixed all tests

This commit is contained in:
albert
2011-07-22 19:25:56 -04:00
parent 5d05769c2c
commit 5da43c54f0
6 changed files with 16 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
Factory.define(:artist) do |f|
f.name {Faker::Name.first_name}
f.name {rand(1_000_000).to_s}
f.creator {|x| x.association(:user)}
f.is_active true
end