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'))
            .withOptions({"skip-all": true})
            .on('end', done);
    });

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

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'))
            .withOptions({"skip-all": true})
            .on('end', done);
    });

    // TODO: write normal tests for generator

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

Add todo in generator tests
Add todo in generator tests
