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 2014/08/05 20:07:23 UTC

[1/2] git commit: Fixed the tests

Repository: cordova-cli
Updated Branches:
  refs/heads/master 814182e23 -> b85bee737


Fixed the tests


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/918c0f7f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/918c0f7f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/918c0f7f

Branch: refs/heads/master
Commit: 918c0f7fac1a15ce586ea3ebd0f8d9c55900948a
Parents: 9cec5da
Author: Suraj Pindoria <su...@yahoo.com>
Authored: Tue Aug 5 11:01:16 2014 -0700
Committer: Suraj Pindoria <su...@yahoo.com>
Committed: Tue Aug 5 11:01:16 2014 -0700

----------------------------------------------------------------------
 spec/cli.spec.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/918c0f7f/spec/cli.spec.js
----------------------------------------------------------------------
diff --git a/spec/cli.spec.js b/spec/cli.spec.js
index 6413b9e..382fdf0 100644
--- a/spec/cli.spec.js
+++ b/spec/cli.spec.js
@@ -66,32 +66,32 @@ describe("cordova cli", function () {
 
         it("will call command with all arguments passed through", function () {
             cli(["node", "cordova", "build", "blackberry10", "--", "-k", "abcd1234"]);
-            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: false, silent: false, platforms: ["blackberry10"], options: ["-k", "abcd1234"]});
+            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: false, silent: false, platforms: ["blackberry10"], options: ["-k", "abcd1234"], browserify: false});
         });
 
         it("will consume the first instance of -d", function () {
             cli(["node", "cordova", "-d", "build", "blackberry10", "--", "-k", "abcd1234", "-d"]);
-            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: true, silent: false, platforms: ["blackberry10"], options: ["-k", "abcd1234", "-d"]});
+            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: true, silent: false, platforms: ["blackberry10"], options: ["-k", "abcd1234", "-d"], browserify: false});
         });
 
         it("will consume the first instance of --verbose", function () {
             cli(["node", "cordova", "--verbose", "build", "blackberry10", "--", "-k", "abcd1234", "--verbose"]);
-            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: true, silent: false, platforms: ["blackberry10"], options: ["-k", "abcd1234", "--verbose"]});
+            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: true, silent: false, platforms: ["blackberry10"], options: ["-k", "abcd1234", "--verbose"], browserify: false});
         });
 
         it("will consume the first instance of either --verbose of -d", function () {
             cli(["node", "cordova", "--verbose", "build", "blackberry10", "--", "-k", "abcd1234", "-d"]);
-            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: true, silent: false, platforms: ["blackberry10"], options: ["-k", "abcd1234", "-d"]});
+            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: true, silent: false, platforms: ["blackberry10"], options: ["-k", "abcd1234", "-d"], browserify: false});
         });
 
         it("will consume the first instance of either --verbose of -d", function () {
             cli(["node", "cordova", "-d", "build", "blackberry10", "--", "-k", "abcd1234", "--verbose"]);
-            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: true, silent: false, platforms: ["blackberry10"], options: ["-k", "abcd1234", "--verbose"]});
+            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: true, silent: false, platforms: ["blackberry10"], options: ["-k", "abcd1234", "--verbose"], browserify: false});
         });
 
         it("will consume the first instance of --silent", function () {
             cli(["node", "cordova", "--silent", "build", "blackberry10", "--",  "-k", "abcd1234", "--silent"]);
-            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: false, silent: true, platforms: ["blackberry10"], options: ["-k", "abcd1234", "--silent"]});
+            expect(cordova.raw.build).toHaveBeenCalledWith({verbose: false, silent: true, platforms: ["blackberry10"], options: ["-k", "abcd1234", "--silent"], browserify: false});
         });
 
     });


[2/2] git commit: Merge branch 'CB-7001' of github.com:surajpindoria/cordova-cli

Posted by st...@apache.org.
Merge branch 'CB-7001' of github.com:surajpindoria/cordova-cli


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

Branch: refs/heads/master
Commit: b85bee737ff6f30dcca5359c21ddc76b9db7b796
Parents: 814182e 918c0f7
Author: Steven Gill <st...@gmail.com>
Authored: Tue Aug 5 11:07:07 2014 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Tue Aug 5 11:07:07 2014 -0700

----------------------------------------------------------------------
 spec/cli.spec.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------