cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cordova-lib git commit: updated save.spec.js to use latest android and newer fb plugin
Date Sat, 03 Sep 2016 00:48:11 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master aab666178 -> c4ee230dd


updated save.spec.js to use latest android and newer fb plugin


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

Branch: refs/heads/master
Commit: c4ee230ddf75b6193b16a12e886be2e524751e25
Parents: aab6661
Author: Steve Gill <stevengill97@gmail.com>
Authored: Fri Sep 2 17:48:05 2016 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Fri Sep 2 17:48:05 2016 -0700

----------------------------------------------------------------------
 cordova-lib/spec-cordova/save.spec.js | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/c4ee230d/cordova-lib/spec-cordova/save.spec.js
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-cordova/save.spec.js b/cordova-lib/spec-cordova/save.spec.js
index 3bac963..0c7ef31 100644
--- a/cordova-lib/spec-cordova/save.spec.js
+++ b/cordova-lib/spec-cordova/save.spec.js
@@ -30,6 +30,7 @@ describe('(save flag)', function () {
         prepare     = require('../src/cordova/prepare'),
         registry    = require('../src/plugman/registry/registry'),
         PlatformApi = require('../src/platforms/PlatformApiPoly'),
+        events      = require('cordova-common').events,
         platform    = rewire('../src/cordova/platform');
 
     var appName                = 'testApp',
@@ -38,7 +39,7 @@ describe('(save flag)', function () {
         platformName           = helpers.testPlatform,
         platformVersionOld     = '4.0.0',
         platformVersionNew     = '4.0.1',
-        platformVersionNewer   = '4.1.1',
+        platformVersionNewer   = '5.2.2',
         platformLocalPathOld   = path.join(__dirname, 'cordova-' + platformName + '-old'),
         platformLocalPathNew   = path.join(__dirname, 'cordova-' + platformName + '-new'),
         platformLocalPathNewer = path.join(__dirname, 'cordova-' + platformName + '-newer'),
@@ -56,8 +57,8 @@ describe('(save flag)', function () {
         pluginOldVersion       = '0.2.11',
         gitPluginName          = 'cordova-plugin-device',
         gitPluginUrl           = 'https://github.com/apache/cordova-plugin-device.git',
-        variablePluginName     = 'phonegap-facebook-plugin',
-        variablePluginUrl      = 'https://github.com/Wizcorp/phonegap-facebook-plugin',
+        variablePluginName     = 'cordova-plugin-facebook4',
+        variablePluginUrl      = 'https://github.com/jeduan/cordova-plugin-facebook4',
         localPluginName        = 'org.apache.cordova.fakeplugin1',
         localPluginPath        = path.join(__dirname, 'fixtures', 'plugins', 'fake1'),
         TIMEOUT                = 60 * 1000,
@@ -112,7 +113,7 @@ describe('(save flag)', function () {
         revertInstallPluginsForNewPlatform = platform.__set__('installPluginsForNewPlatform',
function () { return Q(); });
 
        //creating test app
-        cordova.raw.create(appPath, undefined, undefined, {}).then(function () {
+        cordova.raw.create(appPath, undefined, undefined, {}, events).then(function () {
             //removing unnecessary whitelist plugin from config
             helpers.removePlugin(appPath, 'cordova-plugin-whitelist');
             done();
@@ -658,6 +659,7 @@ describe('(save flag)', function () {
         }, TIMEOUT);
 
         it('spec.24 should restore only specified platform', function (done) {
+            
             helpers.setEngineSpec(appPath, platformName, platformLocalPathNewer);
             helpers.setEngineSpec(appPath, otherPlatformName, otherPlatformSpec);
             var options = {


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


Mime
View raw message