added wiki page version func test

This commit is contained in:
albert
2011-02-02 15:57:47 -05:00
parent 502aeb6a16
commit 17a631b88c
4 changed files with 35 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
Factory.define(:wiki_page) do |f|
f.creator {|x| x.association(:user)}
f.title {|x| Faker::Lorem.words}
f.body {Faker::Lorem.sentences}
f.title {|x| Faker::Lorem.words.join(" ")}
f.body {Faker::Lorem.sentences.join(" ")}
end