added wiki page

This commit is contained in:
albert
2010-02-15 17:32:32 -05:00
parent e745a87e5f
commit 80f033f253
9 changed files with 247 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
Factory.define(:wiki_page) do |f|
f.creator {|x| x.association(:user)}
f.title {|x| Faker::Lorem.words}
f.body {Faker::Lorem.sentences}
f.updater_id {|x| x.creator_id}
f.updater_ip_addr "127.0.0.1"
end