preview_card_fabricator.rb 201 B

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