spec/factories/structure_factories.rb in ddr-models-2.6.2 vs spec/factories/structure_factories.rb in ddr-models-2.7.0.rc1

- old
+ new

@@ -1,10 +1,10 @@ require 'support/structural_metadata_helper' FactoryGirl.define do - factory :structure, class: Ddr::Models::Structure do + factory :structures, class: Ddr::Models::Structure do factory :simple_structure do initialize_with do new(simple_structure_document) end @@ -14,14 +14,20 @@ initialize_with do new(nested_structure_document) end end + factory :nested_structure_mptr do + initialize_with do + new(nested_structure_mptr_document) + end + end + factory :multiple_struct_maps_structure do initialize_with do new(multiple_struct_maps_structure_document) end end end -end \ No newline at end of file +end