Sha256: 09c27ed832262cbd803bbc8ae9c2ea1e3ee3c388842be84c2544659816bf100c
Contents?: true
Size: 482 Bytes
Versions: 14
Compression:
Stored size: 482 Bytes
Contents
FactoryGirl.define do factory :blog_post_cover_image, class: Image::CoverImage 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_cover_image, class: Image::CoverImage 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
14 entries across 14 versions & 1 rubygems