Sha256: fd2dd961ddf1a0b2f95ce552dd02dd39660341a6480c60f1aabffc9e43665fca

Contents?: true

Size: 462 Bytes

Versions: 18

Compression:

Stored size: 462 Bytes

Contents

require 'spec_helper'

RSpec.describe Target, type: :model, targets: true do

  it_behaves_like "a DDR model"
  it_behaves_like "an object that can have content"
  it_behaves_like "it has an association", :has_many, :components, :has_external_target, "Component"
  it_behaves_like "it has an association", :belongs_to, :collection, :is_external_target_for, "Collection"
  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/target_spec.rb
ddr-models-2.6.1 spec/models/target_spec.rb
ddr-models-2.6.0 spec/models/target_spec.rb
ddr-models-2.6.0.rc4 spec/models/target_spec.rb
ddr-models-2.6.0.rc3 spec/models/target_spec.rb
ddr-models-2.6.0.rc2 spec/models/target_spec.rb
ddr-models-2.6.0.rc1 spec/models/target_spec.rb
ddr-models-2.5.3 spec/models/target_spec.rb
ddr-models-2.5.2 spec/models/target_spec.rb
ddr-models-2.5.1 spec/models/target_spec.rb
ddr-models-2.5.0 spec/models/target_spec.rb
ddr-models-2.5.0.rc1 spec/models/target_spec.rb
ddr-models-2.4.16 spec/models/target_spec.rb
ddr-models-2.4.15 spec/models/target_spec.rb
ddr-models-2.4.14 spec/models/target_spec.rb
ddr-models-2.4.13 spec/models/target_spec.rb
ddr-models-2.4.12 spec/models/target_spec.rb
ddr-models-2.4.11 spec/models/target_spec.rb