You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2017/01/04 01:22:18 UTC

[3/4] android commit: Adding isClean to the spec, this really should have failed a few commits ago

Adding isClean to the spec, this really should have failed a few commits ago

This closes #349


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

Branch: refs/heads/6.1.x
Commit: 071ddbf6eb5898ef7d46ce6eb3b02a7cd8cbd1ff
Parents: a87eb72
Author: Joe Bowser <bo...@apache.org>
Authored: Mon Nov 28 14:12:25 2016 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Tue Jan 3 17:21:24 2017 -0800

----------------------------------------------------------------------
 spec/unit/Api.spec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/071ddbf6/spec/unit/Api.spec.js
----------------------------------------------------------------------
diff --git a/spec/unit/Api.spec.js b/spec/unit/Api.spec.js
index ab9479e..2f29c0e 100644
--- a/spec/unit/Api.spec.js
+++ b/spec/unit/Api.spec.js
@@ -42,7 +42,7 @@ describe('addPlugin method', function () {
         pluginManager.addPlugin.andReturn(Q());
         spyOn(common.PluginManager, 'get').andReturn(pluginManager);
 
-        var projectSpy = jasmine.createSpyObj('AndroidProject', ['getPackageName', 'write']);
+        var projectSpy = jasmine.createSpyObj('AndroidProject', ['getPackageName', 'write', 'isClean']);
         spyOn(AndroidProject, 'getProjectFile').andReturn(projectSpy);
 
         oldClean = Api.__get__('Api.prototype.clean');


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