You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by js...@apache.org on 2014/06/27 21:31:28 UTC
[2/2] git commit: CB-7042 serve.spec: really expect not a
Cordova-based project exception
CB-7042 serve.spec: really expect not a Cordova-based project exception
Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/306d4e5d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/306d4e5d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/306d4e5d
Branch: refs/heads/master
Commit: 306d4e5d834fc504353c9c95cca9a3211f53125e
Parents: e24bfb6
Author: Josh Soref <js...@blackberry.com>
Authored: Fri Jun 27 15:30:20 2014 -0400
Committer: Josh Soref <js...@blackberry.com>
Committed: Fri Jun 27 15:30:20 2014 -0400
----------------------------------------------------------------------
cordova-lib/spec-cordova/serve.spec.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/306d4e5d/cordova-lib/spec-cordova/serve.spec.js
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-cordova/serve.spec.js b/cordova-lib/spec-cordova/serve.spec.js
index 2ec1836..1a1c96a 100644
--- a/cordova-lib/spec-cordova/serve.spec.js
+++ b/cordova-lib/spec-cordova/serve.spec.js
@@ -46,7 +46,7 @@ describe('serve command', function() {
expect(function() {
cordova.serve('android');
- }).toThrow();
+ }).toThrow("Current working directory is not a Cordova-based project.");
});
xdescribe('`serve`', function() {