You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2016/03/17 00:50:38 UTC

[4/4] cordova-lib git commit: CB-10694 - Update test to reflect merging of CB-9264 fix (removal of duplicate entries)

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 <sh...@apache.org>
Authored: Wed Mar 16 16:45:04 2016 -0700
Committer: Shazron Abdullah <sh...@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