Sha256: 1d243995008495ad3678933c174a55e39f733b345dec3fde4abe51d827bf0442

Contents?: true

Size: 171 Bytes

Versions: 1

Compression:

Stored size: 171 Bytes

Contents

FactoryGirl.define do

  factory :fae_file, class: 'Fae::File' do
    asset { Rack::Test::UploadedFile.new(File.join('spec', 'support', 'assets', 'test.pdf')) }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fae-rails-1.6.0 spec/factories/fae/file_factory.rb