Sha256: 5229bcfa3a12ab8bd85e55d6ff843d6c6bd180128051fb68b42dafe05b808394

Contents?: true

Size: 418 Bytes

Versions: 40

Compression:

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

end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
ddr-models-2.4.10 spec/models/target_spec.rb
ddr-models-2.4.9 spec/models/target_spec.rb
ddr-models-2.4.8 spec/models/target_spec.rb
ddr-models-2.4.7 spec/models/target_spec.rb
ddr-models-2.4.6 spec/models/target_spec.rb
ddr-models-2.4.5 spec/models/target_spec.rb
ddr-models-2.4.4 spec/models/target_spec.rb
ddr-models-2.4.3 spec/models/target_spec.rb
ddr-models-2.4.2 spec/models/target_spec.rb
ddr-models-2.4.1 spec/models/target_spec.rb
ddr-models-2.4.0 spec/models/target_spec.rb
ddr-models-2.4.0.rc6 spec/models/target_spec.rb
ddr-models-2.4.0.rc5 spec/models/target_spec.rb
ddr-models-2.4.0.rc4 spec/models/target_spec.rb
ddr-models-2.4.0.rc3 spec/models/target_spec.rb
ddr-models-2.4.0.rc2 spec/models/target_spec.rb
ddr-models-2.4.0.rc1 spec/models/target_spec.rb
ddr-models-2.3.2 spec/models/target_spec.rb
ddr-models-2.3.1 spec/models/target_spec.rb
ddr-models-2.3.0 spec/models/target_spec.rb