Sha256: 8c02ed054d66c1777a5a3626c2256a9fb05e7d768c35e40f0b3d9580ff8722a8

Contents?: true

Size: 495 Bytes

Versions: 12

Compression:

Stored size: 495 Bytes

Contents

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"
  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/target_spec.rb
ddr-models-2.10.2 spec/models/target_spec.rb
ddr-models-2.10.1 spec/models/target_spec.rb
ddr-models-2.10.0 spec/models/target_spec.rb
ddr-models-2.10.0.rc2 spec/models/target_spec.rb
ddr-models-2.10.0.rc1 spec/models/target_spec.rb
ddr-models-2.9.2 spec/models/target_spec.rb
ddr-models-2.9.1 spec/models/target_spec.rb
ddr-models-2.9.0 spec/models/target_spec.rb
ddr-models-2.9.0.rc1 spec/models/target_spec.rb
ddr-models-2.8.0 spec/models/target_spec.rb
ddr-models-2.8.0.rc1 spec/models/target_spec.rb