Sha256: dfd71208f0d7fbc72198f956ee269c122ec2c70c6a48e135ef228350e86e69a8
Contents?: true
Size: 317 Bytes
Versions: 43
Compression:
Stored size: 317 Bytes
Contents
# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :picture, :class => Picture do data File.open('spec/factories/files/rails.png') data_content_type "image/png" data_file_name "rails.png" association :assetable, :factory => :article end end
Version data entries
43 entries across 43 versions & 3 rubygems