vt-social/spec/fabricators/preview_card_fabricator.rb

7 lines
152 B
Ruby

Fabricator(:preview_card) do
url { Faker::Internet.url }
title { Faker::Lorem.sentence }
description { Faker::Lorem.paragraph }
type 'link'
end