Sha256: 80fcf44556a189cb4aecdc1cd856fa42740106cff3dab906b4750d18d9ca8b43
Contents?: true
Size: 489 Bytes
Versions: 25
Compression:
Stored size: 489 Bytes
Contents
FactoryBot.define do factory :blog_post_gallery_image, class: Image::GalleryImage do image { Rack::Test::UploadedFile.new('spec/dummy/spec/factories/test.jpg', 'image.png') } association :imageable, factory: :published_blog_post end factory :oversized_blog_post_gallery_image, class: Image::GalleryImage do image { Rack::Test::UploadedFile.new('spec/dummy/spec/factories/test.jpg', 'image.png') } association :imageable, factory: :published_blog_post end end
Version data entries
25 entries across 25 versions & 1 rubygems