Sha256: 98ca7db4e717b8e45461560903900eb6cad825c4b6302d300ac5e7a914519644

Contents?: true

Size: 370 Bytes

Versions: 18

Compression:

Stored size: 370 Bytes

Contents

require 'spec_helper'

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

18 entries across 18 versions & 1 rubygems

Version Path
ddr-models-2.6.2 spec/models/attachment_spec.rb
ddr-models-2.6.1 spec/models/attachment_spec.rb
ddr-models-2.6.0 spec/models/attachment_spec.rb
ddr-models-2.6.0.rc4 spec/models/attachment_spec.rb
ddr-models-2.6.0.rc3 spec/models/attachment_spec.rb
ddr-models-2.6.0.rc2 spec/models/attachment_spec.rb
ddr-models-2.6.0.rc1 spec/models/attachment_spec.rb
ddr-models-2.5.3 spec/models/attachment_spec.rb
ddr-models-2.5.2 spec/models/attachment_spec.rb
ddr-models-2.5.1 spec/models/attachment_spec.rb
ddr-models-2.5.0 spec/models/attachment_spec.rb
ddr-models-2.5.0.rc1 spec/models/attachment_spec.rb
ddr-models-2.4.16 spec/models/attachment_spec.rb
ddr-models-2.4.15 spec/models/attachment_spec.rb
ddr-models-2.4.14 spec/models/attachment_spec.rb
ddr-models-2.4.13 spec/models/attachment_spec.rb
ddr-models-2.4.12 spec/models/attachment_spec.rb
ddr-models-2.4.11 spec/models/attachment_spec.rb