Sha256: 7669e13cbecc633d258a31272f62fd10e2195d00af4e414e5409bf3466dde2e9

Contents?: true

Size: 403 Bytes

Versions: 12

Compression:

Stored size: 403 Bytes

Contents

RSpec.describe Attachment, type: :model, attachments: true do

  it_behaves_like "a DDR model"
  it_behaves_like "an object that can have content"
  it_behaves_like "it has an association", :belongs_to, :attached_to, :is_attached_to, "ActiveFedora::Base"
  it_behaves_like "a non-collection model"
  it_behaves_like "an unpublishable object"
  it_behaves_like "an object that cannot be streamable"

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ddr-models-2.11.0 spec/models/attachment_spec.rb
ddr-models-2.10.2 spec/models/attachment_spec.rb
ddr-models-2.10.1 spec/models/attachment_spec.rb
ddr-models-2.10.0 spec/models/attachment_spec.rb
ddr-models-2.10.0.rc2 spec/models/attachment_spec.rb
ddr-models-2.10.0.rc1 spec/models/attachment_spec.rb
ddr-models-2.9.2 spec/models/attachment_spec.rb
ddr-models-2.9.1 spec/models/attachment_spec.rb
ddr-models-2.9.0 spec/models/attachment_spec.rb
ddr-models-2.9.0.rc1 spec/models/attachment_spec.rb
ddr-models-2.8.0 spec/models/attachment_spec.rb
ddr-models-2.8.0.rc1 spec/models/attachment_spec.rb