finished dmails and favorites functional tests

This commit is contained in:
albert
2010-12-05 22:27:45 -05:00
parent b18f6340e7
commit 46164eab4f
25 changed files with 226 additions and 48 deletions

View File

@@ -1,8 +1,6 @@
Factory.define(:dmail) do |f|
f.owner {|x| x.association(:user)}
f.from_id {|x| x.owner_id}
f.to {|x| x.association(:user)}
f.title {Faker::Lorem.words}
f.body {Faker::Lorem.sentences}
f.title {Faker::Lorem.words.join(" ")}
f.body {Faker::Lorem.sentences.join(" ")}
f.is_read false
end