Sha256: 40e73a30b085068f7527a7c29939a2c9fa2d861d694faa358156d3bdf7e21d76

Contents?: true

Size: 271 Bytes

Versions: 12

Compression:

Stored size: 271 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cmor_system-0.0.58.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.57.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.56.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.55.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.54.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.53.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.51.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.50.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.49.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.48.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.45.pre spec/factories/active_storage/attachments.rb
cmor_system-0.0.44.pre spec/factories/active_storage/attachments.rb