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