CB-10694 - Update test to reflect merging of CB-9264 fix (removal of duplicate entries)
authorShazron Abdullah <shazron@apache.org>
Wed, 16 Mar 2016 23:45:04 +0000 (16:45 -0700)
committerShazron Abdullah <shazron@apache.org>
Wed, 16 Mar 2016 23:45:04 +0000 (16:45 -0700)
spec/util/xml-helpers.spec.js

index 2138f5c..b0083fd 100644 (file)
@@ -304,9 +304,8 @@ describe('xml-helpers', function(){
             );
             xml_helpers.mergeXml(testXml, dstXml, 'ios');
             var testElements = dstXml.findall('preference[@name="Orientation"]');
-            expect(testElements.length).toEqual(2);
-            expect(testElements[0].attrib.value).toEqual('default');
-            expect(testElements[1].attrib.value).toEqual('all');
+            expect(testElements.length).toEqual(1);
+            expect(testElements[0].attrib.value).toEqual('all');
         });
     });
 });