cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Santana (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-6203) CLI `npm test` failing on for plugins specs
Date Sun, 09 Mar 2014 15:28:42 GMT

     [ https://issues.apache.org/jira/browse/CB-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Santana updated CB-6203:
-------------------------------

    Description: 
cd cordova-cli
npm test
or
cd cordova-cli
npm install ../cordova-plugman
npm test

same errors both ways

{code}
(master)$ npm test

> cordova@3.4.0-0.1.4-dev test /Users/csantana23/Documents/cordova/cordova-cli
> jasmine-node --color spec e2e

............this is script 1 in /private/var/folders/z3/nz0hg1s10r321pp8szx_2j080000gn/T/e2e-test/hooks_test/project
this is script 0 in /private/var/folders/z3/nz0hg1s10r321pp8szx_2j080000gn/T/e2e-test/hooks_test/project
.............................................................................................................................................................................................F.F.........................................................................................

Failures:

  1) plugin command success `add` should call plugman.fetch for each plugin
   Message:
     Expected spy fetch to have been called with [ 'one', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy fetch to have been called with [ 'one', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:145:47
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:144:36
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  2) plugin command success `add` should call plugman.fetch for each plugin
   Message:
     Expected spy fetch to have been called with [ 'two', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy fetch to have been called with [ 'two', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:145:47
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:144:36
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  3) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  4) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  5) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  6) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  7) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  8) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  9) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  10) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  11) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

Finished in 3.182 seconds
293 tests, 515 assertions, 11 failures


npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0
{code}

  was:
cd cordova-cli
npm test
or
cd cordova-cli
npm install ../cordova-plugman
npm test

same errors both ways


(master)$ npm test

> cordova@3.4.0-0.1.4-dev test /Users/csantana23/Documents/cordova/cordova-cli
> jasmine-node --color spec e2e

............this is script 1 in /private/var/folders/z3/nz0hg1s10r321pp8szx_2j080000gn/T/e2e-test/hooks_test/project
this is script 0 in /private/var/folders/z3/nz0hg1s10r321pp8szx_2j080000gn/T/e2e-test/hooks_test/project
.............................................................................................................................................................................................F.F.........................................................................................

Failures:

  1) plugin command success `add` should call plugman.fetch for each plugin
   Message:
     Expected spy fetch to have been called with [ 'one', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy fetch to have been called with [ 'one', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:145:47
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:144:36
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  2) plugin command success `add` should call plugman.fetch for each plugin
   Message:
     Expected spy fetch to have been called with [ 'two', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy fetch to have been called with [ 'two', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:145:47
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:144:36
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  3) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  4) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  5) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  6) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  7) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  8) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  9) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  10) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

  11) plugin command success `add` should pass down variables into plugman
   Message:
     Expected spy install to have been called with [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
   Stacktrace:
     Error: Expected spy install to have been called with [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
    at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
    at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
    at Array.forEach (native)
    at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
    at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
    at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
    at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)

Finished in 3.182 seconds
293 tests, 515 assertions, 11 failures


npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0


> CLI `npm test` failing on for plugins specs
> -------------------------------------------
>
>                 Key: CB-6203
>                 URL: https://issues.apache.org/jira/browse/CB-6203
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: Master
>         Environment: osx 10.9
> cordova@3.4.0-0.1.4-dev
> $ node -v
> v0.10.26
> $ npm -v
> 1.4.3
>            Reporter: Carlos Santana
>
> cd cordova-cli
> npm test
> or
> cd cordova-cli
> npm install ../cordova-plugman
> npm test
> same errors both ways
> {code}
> (master)$ npm test
> > cordova@3.4.0-0.1.4-dev test /Users/csantana23/Documents/cordova/cordova-cli
> > jasmine-node --color spec e2e
> ............this is script 1 in /private/var/folders/z3/nz0hg1s10r321pp8szx_2j080000gn/T/e2e-test/hooks_test/project
> this is script 0 in /private/var/folders/z3/nz0hg1s10r321pp8szx_2j080000gn/T/e2e-test/hooks_test/project
> .............................................................................................................................................................................................F.F.........................................................................................
> Failures:
>   1) plugin command success `add` should call plugman.fetch for each plugin
>    Message:
>      Expected spy fetch to have been called with [ 'one', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy fetch to have been called with [ 'one', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:145:47
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:144:36
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
>   2) plugin command success `add` should call plugman.fetch for each plugin
>    Message:
>      Expected spy fetch to have been called with [ 'two', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy fetch to have been called with [ 'two', 'some/path/plugins', {  } ] but actual calls were [ 'one', 'some/path/plugins', { searchpath : [  ] } ], [ 'two', 'some/path/plugins', { searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:145:47
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:144:36
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
>   3) plugin command success `add` should pass down variables into plugman
>    Message:
>      Expected spy install to have been called with [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy install to have been called with [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
>   4) plugin command success `add` should pass down variables into plugman
>    Message:
>      Expected spy install to have been called with [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy install to have been called with [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
>   5) plugin command success `add` should pass down variables into plugman
>    Message:
>      Expected spy install to have been called with [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy install to have been called with [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
>   6) plugin command success `add` should pass down variables into plugman
>    Message:
>      Expected spy install to have been called with [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy install to have been called with [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
>   7) plugin command success `add` should pass down variables into plugman
>    Message:
>      Expected spy install to have been called with [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy install to have been called with [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
>   8) plugin command success `add` should pass down variables into plugman
>    Message:
>      Expected spy install to have been called with [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy install to have been called with [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
>   9) plugin command success `add` should pass down variables into plugman
>    Message:
>      Expected spy install to have been called with [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy install to have been called with [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
>   10) plugin command success `add` should pass down variables into plugman
>    Message:
>      Expected spy install to have been called with [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy install to have been called with [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
>   11) plugin command success `add` should pass down variables into plugman
>    Message:
>      Expected spy install to have been called with [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>    Stacktrace:
>      Error: Expected spy install to have been called with [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' } } ] but actual calls were [ 'amazon-fireos', 'some/path/platforms/amazon-fireos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'android', 'some/path/platforms/android', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'blackberry10', 'some/path/platforms/blackberry10', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'firefoxos', 'some/path/platforms/firefoxos', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ios', 'some/path/platforms/ios', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'ubuntu', 'some/path/platforms/ubuntu', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'windows8', 'some/path/platforms/windows8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp7', 'some/path/platforms/wp7', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ], [ 'wp8', 'some/path/platforms/wp8', 'one', 'some/path/plugins', { cli_variables : { FOO : 'bar' }, searchpath : [  ] } ]
>     at new jasmine.ExpectationResult (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:114:32)
>     at null.toHaveBeenCalledWith (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1235:29)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:165:49
>     at Array.forEach (native)
>     at /Users/csantana23/Documents/cordova/cordova-cli/spec/plugin.spec.js:164:41
>     at _fulfilled (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:760:13)
>     at /Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:574:44
>     at flush (/Users/csantana23/Documents/cordova/cordova-cli/node_modules/q/q.js:108:17)
> Finished in 3.182 seconds
> 293 tests, 515 assertions, 11 failures
> npm ERR! Test failed.  See above for more details.
> npm ERR! not ok code 0
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message