added user feedback test

This commit is contained in:
albert
2010-02-19 18:04:43 -05:00
parent 2f907c67b5
commit 1a7197807a
3 changed files with 40 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
Factory.define(:user_feedback) do |f|
f.user {|x| x.association(:user)}
f.creator {|x| x.association(:user)}
f.is_positive true
f.body {Faker::Lorem.words}
end