expiration process and adding some additional tests. Cleaned up the unit tests. They should all run cleanly with rake test:units now.
6 lines
146 B
Ruby
6 lines
146 B
Ruby
Factory.define(:wiki_page) do |f|
|
|
f.creator {|x| x.association(:user)}
|
|
f.title {|x| Faker::Lorem.words}
|
|
f.body {Faker::Lorem.sentences}
|
|
end
|