preview_card_fabricator.rb 232 B

123456789
  1. # frozen_string_literal: true
  2. Fabricator(:preview_card) do
  3. url { Faker::Internet.url }
  4. title { Faker::Lorem.sentence }
  5. description { Faker::Lorem.paragraph }
  6. type 'link'
  7. image { attachment_fixture('attachment.jpg') }
  8. end