cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jso...@apache.org
Subject [2/2] git commit: CB-7042 serve.spec: really expect not a Cordova-based project exception
Date Fri, 27 Jun 2014 19:31:28 GMT
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 <jsoref@blackberry.com>
Authored: Fri Jun 27 15:30:20 2014 -0400
Committer: Josh Soref <jsoref@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() {


Mime
View raw message