spec/lutaml/parsers/xmi_spec.rb in lutaml-xmi-0.2.0 vs spec/lutaml/parsers/xmi_spec.rb in lutaml-xmi-0.2.1

- old
+ new

@@ -86,11 +86,10 @@ EAJava_RequirementSubpart_0..___ ] end let(:expected_association_names) do %w[ - TemporalGeometricPrimitive Primitive TemporalGeometry Interval Instant ] @@ -131,14 +130,9 @@ expect(klass.associations.map(&:member_end).compact).to(eq(expected_association_names)) inheritance = klass.associations.find { |entity| entity.member_end == 'TemporalGeometry' } expect(inheritance.member_end_type).to eq('inheritance') expect(inheritance.member_end_cardinality).to eq({"min"=>"C", "max"=>"*"}) - - aggregation = klass.associations.find { |entity| entity.member_end == 'TemporalGeometricPrimitive' } - expect(aggregation.member_end_attribute_name).to eq('element') - expect(aggregation.member_end_type).to eq('aggregation') - expect(aggregation.member_end_cardinality).to eq({"min"=>"C", "max"=>"*"}) end it "correctly parses diagrams for package" do root_package = parse.packages.first expect(root_package.diagrams.length).to(eq(2))