CB-6900 fixed spec.7 for wp8

Test needs to check for x-wmapp0:/ instead of file:/ in case of wp
This commit is contained in:
Staci Cooper
2014-07-29 16:03:35 -04:00
parent 3b4afc8606
commit 9d0ecc233f
+4 -1
View File
@@ -245,7 +245,10 @@ exports.defineAutoTests = function () {
var lastProgressEvent = null;
if (!/^file/.exec(remoteFile) && cordova.platformId !== 'blackberry10') {
expect(remoteFile).toMatch(/^file:/);
if (cordova.platformId !== 'windowsphone')
expect(remoteFile).toMatch(/^file:/);
else
expect(remoteFile).toMatch(/^x-wmapp0:/);
done();
return;
}