Repository: cordova-lib Updated Branches: refs/heads/master 306d4e5d8 -> 56276ef3e
CB-7045 plugman.install.spec: shell.which depends on plugman.raw.fetch actually being called Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/864a2feb Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/864a2feb Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/864a2feb Branch: refs/heads/master Commit: 864a2feb2bf806eb4dd35c94dc956ac67fe57922 Parents: 306d4e5 Author: Josh Soref <[email protected]> Authored: Fri Jun 27 16:39:36 2014 -0400 Committer: Josh Soref <[email protected]> Committed: Fri Jun 27 16:47:28 2014 -0400 ---------------------------------------------------------------------- cordova-lib/spec-plugman/install.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/864a2feb/cordova-lib/spec-plugman/install.spec.js ---------------------------------------------------------------------- diff --git a/cordova-lib/spec-plugman/install.spec.js b/cordova-lib/spec-plugman/install.spec.js index 8266d20..74e7e0d 100644 --- a/cordova-lib/spec-plugman/install.spec.js +++ b/cordova-lib/spec-plugman/install.spec.js @@ -428,7 +428,7 @@ describe('install', function() { }); - xdescribe('failure', function() { + describe('failure', function() { it('should throw if platform is unrecognized', function() { runs(function() { installPromise( install('atari', project, 'SomePlugin') ); @@ -449,6 +449,7 @@ describe('install', function() { }); it('should throw if git is not found on the path and a remote url is requested', function() { spyOn(fs, 'existsSync').andCallFake( fake['existsSync']['noPlugins'] ); + fetchSpy.andCallThrough(); var which_spy = spyOn(shell, 'which').andReturn(null); runs(function() { installPromise( install('android', project, 'https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git') );
