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

Version Path
dhatu-0.1.13 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.12 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.11 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.10 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.9 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.8 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.7 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.6 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.5 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.4 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.3 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.2 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.1 spec/dummy/spec/factories/blog_post_cover_image.rb
dhatu-0.1.0 spec/dummy/spec/factories/blog_post_cover_image.rb