Sha256: d0f0f2c4c5a56cdff1db5cc3f4fcb34f73a7f66c00acdaf3b0261189c66eb76f

Contents?: true

Size: 229 Bytes

Versions: 5

Compression:

Stored size: 229 Bytes

Contents

FactoryBot.define do
  factory :active_storage_attachment, class: 'ActiveStorage::Attachment' do
    association(:record, factory: :post)
    association(:blob, factory: :active_storage_blob)
    name { 'example.png' }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cmor_core_backend-0.0.5.pre spec/factories/active_storage/attachments.rb
cmor_core_backend-0.0.4.pre spec/factories/active_storage/attachments.rb
cmor_core_backend-0.0.3.pre spec/factories/active_storage/attachments.rb
cmor_core_backend-0.0.2.pre spec/factories/active_storage/attachments.rb
cmor_core_backend-0.0.1.pre spec/factories/active_storage/attachments.rb