Sha256: 9708d494c7ed1cdd326fd8a62b474f4da704ae62790fe93f60c40dcb7677c980

Contents?: true

Size: 280 Bytes

Versions: 37

Compression:

Stored size: 280 Bytes

Contents

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

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
cmor_system_backend-0.0.43.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.42.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.41.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.40.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.39.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.38.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.37.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.36.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.35.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.34.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.33.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.32.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.31.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.30.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.29.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.28.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.27.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.26.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.25.pre spec/factories/active_storage/attachments.rb
cmor_system_backend-0.0.24.pre spec/factories/active_storage/attachments.rb