You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by lo...@apache.org on 2014/08/21 20:23:14 UTC

[13/15] git commit: correct object referenced in tests

correct object referenced in 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/4681a1dc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/4681a1dc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/4681a1dc

Branch: refs/heads/master
Commit: 4681a1dc7bfeed964cb960cc36e947d8b0a51752
Parents: 1f5173c
Author: Lorin Beer <lo...@gmail.com>
Authored: Wed Aug 20 18:38:56 2014 -0700
Committer: Lorin Beer <lo...@gmail.com>
Committed: Wed Aug 20 18:38:56 2014 -0700

----------------------------------------------------------------------
 spec/create.spec.js | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/4681a1dc/spec/create.spec.js
----------------------------------------------------------------------
diff --git a/spec/create.spec.js b/spec/create.spec.js
index 0154435..ba70623 100644
--- a/spec/create.spec.js
+++ b/spec/create.spec.js
@@ -17,13 +17,14 @@
     under the License.
 */
 
-var cli = require("../src/create.js"),
+var clicreate = require("../src/create.js"),
     Q = require('q'),
     cordova_lib = require('cordova-lib'),
     plugman = cordova_lib.plugman,
     cordova = cordova_lib.cordova;
 
 describe("cordova cli", function () {
+
     beforeEach(function () {
         // Event registration is currently process-global. Since all jasmine
         // tests in a directory run in a single process (and in parallel),
@@ -38,7 +39,7 @@ describe("cordova cli", function () {
         describe("parseConfig", function() { 
 
             it("should be defined", function () {
-                expect(cdvclicreate.parseConfig).toEqual(jasmine.any(Function));    
+                expect(clicreate.parseConfig).toEqual(jasmine.any(Function));    
             });
 
         });
@@ -46,9 +47,9 @@ describe("cordova cli", function () {
         describe("create", function() { 
 
             it("should be defined", function () {
-                expect(cdvclicreate.create).toEqual(jasmine.any(Function));    
+                expect(clicreate.run).toEqual(jasmine.any(Function));    
             });
 
         });
     });
-};
+});