mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-24 01:32:40 -04:00
* FactoryGirl Changed to FactoryBot file fix changes based on comments received Bundle Update on 2017-10-29 style update to align hash literal added package-lock * indentation fixes with rubocop * name added to contributors
9 lines
176 B
Ruby
9 lines
176 B
Ruby
FactoryBot.define do
|
|
factory :comment do
|
|
post
|
|
author
|
|
sequence(:body) { |n| "OMG LOL #{n}" }
|
|
# because our commenters are more polite than YouTube's
|
|
end
|
|
end
|