added wiki page version func test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user