spec/factories/component_factories.rb in ddr-models-1.2.1 vs spec/factories/component_factories.rb in ddr-models-1.3.0

- old
+ new

@@ -3,13 +3,8 @@ factory :component do title [ "Test Component" ] sequence(:identifier) { |n| [ "cmp%05d" % n ] } after(:build) do |c| c.upload File.new(File.join(Ddr::Models::Engine.root.to_s, "spec", "fixtures", "library-devil.tiff")) - end - - trait :has_parent do - item - end - + end end end