Sha256: 105ff576528548d946eec2066cc3d5e418a575512b8f68c47a935825a733466c
Contents?: true
Size: 311 Bytes
Versions: 15
Compression:
Stored size: 311 Bytes
Contents
FactoryGirl.define do factory :alexandrie_attachment, class: ::Dorsale::Alexandrie::Attachment do attachable { DummyModel.create!(name: "abc") } file { path = Rails.root.join("../../spec/files/pdf.pdf").to_s Rack::Test::UploadedFile.new(path, "application/pdf") } end end
Version data entries
15 entries across 15 versions & 1 rubygems