* Bump factory_bot_rails from 4.10.0 to 4.11.0 Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails) from 4.10.0 to 4.11.0. - [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases) - [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/master/NEWS) - [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v4.10.0...v4.11.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Update factories to always use blocks
8 lines
190 B
Ruby
8 lines
190 B
Ruby
FactoryBot.define do
|
|
factory :comment do
|
|
user
|
|
body_markdown { Faker::Hipster.paragraph(1) }
|
|
commentable_id { rand(1000) }
|
|
commentable_type { "Article" }
|
|
end
|
|
end
|