This is an automated email from the ASF dual-hosted git repository.

shazron pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git


The following commit(s) were added to refs/heads/master by this push:
     new 53c8daa  CB-13212 - Update cordova-ios with new cordova-common that 
parses new attribute for access tag
53c8daa is described below

commit 53c8daae191a3587c13ddd770cc8cfcf3da82874
Author: Shazron Abdullah <[email protected]>
AuthorDate: Wed Sep 6 10:02:37 2017 +0800

    CB-13212 - Update cordova-ios with new cordova-common that parses new 
attribute for access tag
---
 tests/spec/unit/prepare.spec.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/spec/unit/prepare.spec.js b/tests/spec/unit/prepare.spec.js
index a94ef52..8c12305 100644
--- a/tests/spec/unit/prepare.spec.js
+++ b/tests/spec/unit/prepare.spec.js
@@ -747,11 +747,11 @@ describe('prepare', function () {
             });
         });
 
-        xit('<access> - should handle wildcard, with 
NSAllowsArbitraryLoadsForMedia set (fixed allows-arbitrary-loads-for-media)', 
function (done) {
+        it('<access> - should handle wildcard, with 
NSAllowsArbitraryLoadsForMedia set (fixed allows-arbitrary-loads-for-media)', 
function (done) {
 
             var readFile = spyOn(fs, 'readFileSync');
             var configXml = '<?xml version="1.0" encoding="UTF-8"?><widget 
id="io.cordova.hellocordova" 
ios-CFBundleIdentifier="io.cordova.hellocordova.ios" version="0.0.1" 
xmlns="http://www.w3.org/ns/widgets"; 
xmlns:cdv="http://cordova.apache.org/ns/1.0";><name>SampleApp</name>' +
-            '<access origin="*" allows-arbitrary-loads-for-media="false" />' +
+            '<access origin="*" allows-arbitrary-loads-for-media="true" />' +
             '</widget>';
             readFile.and.returnValue(configXml);
 
@@ -766,7 +766,7 @@ describe('prepare', function () {
             });
         });
 
-        xit('<access> - should handle wildcard, with 
NSAllowsArbitraryLoadsForMedia not set (fixed 
allows-arbitrary-loads-for-media)', function (done) {
+        it('<access> - should handle wildcard, with 
NSAllowsArbitraryLoadsForMedia not set (fixed 
allows-arbitrary-loads-for-media)', function (done) {
 
             var readFile = spyOn(fs, 'readFileSync');
             var configXml = '<?xml version="1.0" encoding="UTF-8"?><widget 
id="io.cordova.hellocordova" 
ios-CFBundleIdentifier="io.cordova.hellocordova.ios" version="0.0.1" 
xmlns="http://www.w3.org/ns/widgets"; 
xmlns:cdv="http://cordova.apache.org/ns/1.0";><name>SampleApp</name>' +

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to