cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [4/4] cordova-lib git commit: CB-10694 - Update test to reflect merging of CB-9264 fix (removal of duplicate entries)
Date Wed, 16 Mar 2016 23:50:38 GMT
CB-10694 - Update test to reflect merging of CB-9264 fix (removal of duplicate entries)


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/c9b04237
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/c9b04237
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/c9b04237

Branch: refs/heads/master
Commit: c9b0423769005ca3591ebd90cfe77168148787e0
Parents: 4d4fbac
Author: Shazron Abdullah <shazron@apache.org>
Authored: Wed Mar 16 16:45:04 2016 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Wed Mar 16 16:45:04 2016 -0700

----------------------------------------------------------------------
 cordova-common/spec/util/xml-helpers.spec.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/c9b04237/cordova-common/spec/util/xml-helpers.spec.js
----------------------------------------------------------------------
diff --git a/cordova-common/spec/util/xml-helpers.spec.js b/cordova-common/spec/util/xml-helpers.spec.js
index 2138f5c..b0083fd 100644
--- a/cordova-common/spec/util/xml-helpers.spec.js
+++ b/cordova-common/spec/util/xml-helpers.spec.js
@@ -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');
         });
     });
 });


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message