2019-08-24 16:51:25 +02:00
|
|
|
FactoryBot.define do
|
|
|
|
|
factory :post do
|
2019-08-28 17:52:59 +02:00
|
|
|
sequence(:title) { |n| "Post #{n}" }
|
2019-09-03 18:37:27 +02:00
|
|
|
sequence(:description) { |n| "Post #{n} description" }
|
2019-08-24 16:51:25 +02:00
|
|
|
board
|
|
|
|
|
user
|
|
|
|
|
post_status
|
|
|
|
|
end
|
|
|
|
|
end
|