Sha256: 7d0980f67f308ba2ec9e2309ad37eec7e929b769cf2879dd350cf76e85218faf

Contents?: true

Size: 347 Bytes

Versions: 8

Compression:

Stored size: 347 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"

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ddr-models-2.7.6 spec/models/attachment_spec.rb
ddr-models-2.7.5 spec/models/attachment_spec.rb
ddr-models-2.7.4 spec/models/attachment_spec.rb
ddr-models-2.7.3 spec/models/attachment_spec.rb
ddr-models-2.7.2 spec/models/attachment_spec.rb
ddr-models-2.7.1 spec/models/attachment_spec.rb
ddr-models-2.7.0 spec/models/attachment_spec.rb
ddr-models-2.7.0.rc1 spec/models/attachment_spec.rb