Fix tests after removing deprecated `raw` methods from lib (#308)

See https://github.com/apache/cordova-cli/pull/306#issuecomment-417190230
diff --git a/spec/cli.spec.js b/spec/cli.spec.js
index 109c841..8212523 100644
--- a/spec/cli.spec.js
+++ b/spec/cli.spec.js
@@ -448,19 +448,6 @@
     });
 });
 
-describe('raw', function () {
-    var rawInterface = cordova.raw;
-    it('has a raw implementation of previously callable commands', function (done) {
-        Object.keys(rawInterface).forEach(function (key) {
-            expect(typeof rawInterface[key]).toBe('function');
-            spyOn(cordova, key);
-            rawInterface[key](); // call the raw version
-            expect(cordova[key]).toHaveBeenCalled();
-        });
-        done();
-    });
-});
-
 describe('platform', function () {
 
     beforeEach(function () {
diff --git a/spec/help.spec.js b/spec/help.spec.js
index 84f59d7..1697a97 100644
--- a/spec/help.spec.js
+++ b/spec/help.spec.js
@@ -17,13 +17,13 @@
 var cordova_lib = require('cordova-lib');
 var cordova = cordova_lib.cordova;
 var help = require('../src/help');
-var allcommands;
+var allcommands = [
+    '', 'prepare', 'build', 'config', 'emulate', 'plugin', 'plugins',
+    'serve', 'platform', 'platforms', 'compile', 'run', 'info', 'targets',
+    'requirements', 'projectMetadata', 'clean'
+];
 
 describe('help', function () {
-    allcommands = [''].concat(Object.keys(cordova).map(function (k) {
-        if (k in cordova.raw) { return k; }
-        return null;
-    }).filter(function (k) { return k; }));
     describe('commands should', function () {
         afterEach(function () {
             cordova.removeAllListeners('results');