spec/lib/aixm/feature/organisation_spec.rb in aixm-0.3.0 vs spec/lib/aixm/feature/organisation_spec.rb in aixm-0.3.1
- old
+ new
@@ -48,11 +48,11 @@
it "builds correct complete OFMX" do
AIXM.ofmx!
subject.to_xml.must_equal <<~END
<!-- Organisation: FRANCE -->
<Org source="LF|GEN|0.0 FACTORY|0|0">
- <OrgUid region="LF">
+ <OrgUid>
<txtName>FRANCE</txtName>
</OrgUid>
<codeId>LF</codeId>
<codeType>S</codeType>
<txtRmk>Oversea departments not included</txtRmk>
@@ -64,10 +64,10 @@
AIXM.ofmx!
subject.id = subject.remarks = nil
subject.to_xml.must_equal <<~END
<!-- Organisation: FRANCE -->
<Org source="LF|GEN|0.0 FACTORY|0|0">
- <OrgUid region="LF">
+ <OrgUid>
<txtName>FRANCE</txtName>
</OrgUid>
<codeType>S</codeType>
</Org>
END