about summary refs log tree commit diff
path: root/spec/fabricators/preview_card_fabricator.rb
blob: b8f2c50972eddebf8c38a82445f26da0913807f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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