var path = require('path'),
    assert = require('yeoman-generator').assert,
    helpers = require('yeoman-generator').test,
    os = require('os');

describe('sails-rest-api:app', function () {
    before(function (done) {
        helpers.run(path.join(__dirname, '../app'))
            .inDir(path.join(os.tmpdir(), './temp-test'))
            .on('end', done);
    });

    it('Should properly create root files', function () {
        assert.file([
            '.editorconfig',
            '.gitignore',
            '.sailsrc',
            'app.js',
            'package.json'
        ]);
    });
});

@@ -323,24 +323,70 @@
 emp-test'))%0A
+            .withOptions(%7BskipInstall: true%7D)%0A
             

Add skip install flag to test