Repository: cordova-cli
Updated Branches:
  refs/heads/master fc3c606b2 -> 637994cce


CB-6954: Use the unified cordova_lib.events in cli spec


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

Branch: refs/heads/master
Commit: 637994cce413509479d3dfd18b568382e1a4f59f
Parents: fc3c606
Author: Mark Koudritsky <[email protected]>
Authored: Wed Jun 18 11:48:37 2014 -0400
Committer: Mark Koudritsky <[email protected]>
Committed: Wed Jun 18 11:48:37 2014 -0400

----------------------------------------------------------------------
 spec/cli.spec.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/637994cc/spec/cli.spec.js
----------------------------------------------------------------------
diff --git a/spec/cli.spec.js b/spec/cli.spec.js
index 3204021..b08373c 100644
--- a/spec/cli.spec.js
+++ b/spec/cli.spec.js
@@ -20,7 +20,7 @@
 var cli = require("../src/cli"),
     Q = require('q'),
     cordova_lib = require('cordova-lib'),
-    plugman = cordova_lib.plugman,
+    events = cordova_lib.events,
     cordova = cordova_lib.cordova;
 
 describe("cordova cli", function () {
@@ -29,8 +29,7 @@ describe("cordova cli", function () {
         // tests in a directory run in a single process (and in parallel),
         // logging events registered as a result of the "--verbose" flag in
         // CLI testing below would cause lots of logging messages printed out 
by other specs.
-        spyOn(cordova, "on");
-        spyOn(plugman, "on");
+        spyOn(events, "on");
     });
 
     describe("options", function () {

Reply via email to