Sha256: 97720b3e6f00a712aac70cd30bc32835c216d96daa012113dd73972e8f13e5a6
Contents?: true
Size: 265 Bytes
Versions: 19
Compression:
Stored size: 265 Bytes
Contents
FactoryGirl.define do sequence(:image_name) { |n| "image name #{n}" } factory :image, class: Redditor::Image do description { generate(:image_name) } src { Rack::Test::UploadedFile.new(File.join(Rails.root, 'spec', 'fixtures', 'test.jpg')) } end end
Version data entries
19 entries across 19 versions & 1 rubygems