var chai = require('chai');
var should = chai.should();
var expect = chai.expect;
var fs = require('fs');
var exec = require('child_process').exec;
var spawnSync = require('child_process').spawnSync;
var spawn = require('child_process').spawn;

require('./test_command_new');
var SERVICE_TEST = "camera";
var OPTIONS = { cwd : NAME_APP }

describe('#install service camera', function() {
  var captured_stdout;
  before(function (done) {
      var installServiceCommand = spawn('node', ['../bin/mockapp','install','service',SERVICE_TEST,'--lang','en'], OPTIONS);
      installServiceCommand.stdout.on('data', function (data) {
        captured_stdout = data.toString();
      });

      installServiceCommand.stderr.on('data', function (data) {
        captured_stdout = data.toString();
      });

      installServiceCommand.on('exit', function (code) {
        done();
      });
  });
  it('should show message about command exec', function() {
      captured_stdout.should.to.contain('Add the service to your controller like');
  });

});

@@ -986,33 +986,13 @@
 in('
-Add the service to your c
+HomeC
 ontr
@@ -1000,13 +1000,16 @@
 ller
- like
+.$inject
 ');%0A

Update test_command_install_service.js