mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-08 15:54:43 -04:00
- Move "show previous comments" into a partial - invoke said partial from the new comment form - add tests.
9 lines
218 B
Ruby
9 lines
218 B
Ruby
FactoryGirl.define do
|
|
factory :comment do
|
|
post
|
|
author
|
|
sequence(:body) { |n| "OMG LOL #{n}" } # because our commenters are more
|
|
# polite than YouTube's
|
|
end
|
|
end
|