spec/models/target_spec.rb in ddr-models-2.11.0 vs spec/models/target_spec.rb in ddr-models-3.0.0.alpha.1
- old
+ new
@@ -1,11 +1,9 @@
+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"
- it_behaves_like "an object that cannot be streamable"
end