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/1af5ade3 Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/1af5ade3 Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/1af5ade3 Branch: refs/heads/master Commit: 1af5ade39af1f5f33fae607bbf89851d155c8dcf Parents: ad40d33 Author: Joe Bowser <[email protected]> Authored: Mon Nov 28 14:12:25 2016 -0800 Committer: Joe Bowser <[email protected]> Committed: Mon Dec 5 15:32:18 2016 -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/1af5ade3/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: [email protected] For additional commands, e-mail: [email protected]
