* Removed Pixa/Tinami sources
* Upgraded to Rails 3.2.3 * Fixed tests
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
Factory.define(:wiki_page) do |f|
|
||||
f.creator {|x| x.association(:user)}
|
||||
f.title {|x| Faker::Lorem.words.join(" ")}
|
||||
f.body {Faker::Lorem.sentences.join(" ")}
|
||||
FactoryGirl.define do
|
||||
factory(:wiki_page) do
|
||||
creator :factory => :user
|
||||
title {Faker::Lorem.words.join(" ")}
|
||||
body {Faker::Lorem.sentences.join(" ")}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user