Sha256: 94472214034e16d373affd215692e6a4779340bcbe293441fdf78bac2b873f86

Contents?: true

Size: 439 Bytes

Versions: 8

Compression:

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

end

Version data entries

8 entries across 8 versions & 1 rubygems

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