Sha256: 64a5a82e82d1f261762dacea771766cb4d15be1e9439d106e72730568efc6a36

Contents?: true

Size: 373 Bytes

Versions: 36

Compression:

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

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
ddr-models-1.17.1 spec/models/target_spec.rb
ddr-models-1.17.0 spec/models/target_spec.rb
ddr-models-1.16.2 spec/models/target_spec.rb
ddr-models-1.16.1 spec/models/target_spec.rb
ddr-models-1.16.0 spec/models/target_spec.rb
ddr-models-1.15.0 spec/models/target_spec.rb
ddr-models-1.14.2 spec/models/target_spec.rb
ddr-models-1.14.1 spec/models/target_spec.rb
ddr-models-1.14.0 spec/models/target_spec.rb
ddr-models-1.13.2 spec/models/target_spec.rb
ddr-models-1.13.1 spec/models/target_spec.rb
ddr-models-1.13.0 spec/models/target_spec.rb
ddr-models-1.11.8 spec/models/target_spec.rb
ddr-models-1.12.3 spec/models/target_spec.rb
ddr-models-1.11.7 spec/models/target_spec.rb
ddr-models-1.12.2 spec/models/target_spec.rb
ddr-models-1.11.6 spec/models/target_spec.rb
ddr-models-1.12.1 spec/models/target_spec.rb
ddr-models-1.11.5 spec/models/target_spec.rb
ddr-models-1.12.0 spec/models/target_spec.rb