Skip to content

Commit

Permalink
Nope, not working still...
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed May 24, 2016
1 parent 0765881 commit fa9e6b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = generators.Base.extend({
if (!dependencies) {
this.log(chalk.red('You are missing one or more dependencies!'));
this.log(chalk.yellow('Make sure you have the required dependencies, or that they are in $PATH'));
shelljs.exit(1);
}
},

Expand Down
7 changes: 7 additions & 0 deletions test/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ var assert = require('yeoman-assert');
var helpers = require('yeoman-test');

test.before(() => {
var deps = [
[helpers.createDummyGenerator(), 'jekyllized:boilerplate'],
[helpers.createDummyGenerator(), 'jekyllized:jekyll'],
[helpers.createDummyGenerator(), 'jekyllized:gulp']
];

return helpers.run(path.join(__dirname, '../generators/app'))
.withPrompts({
projectName: 'jekyllized',
Expand All @@ -17,6 +23,7 @@ test.before(() => {
jekyllPermalinks: 'pretty'
})
.withOptions({'skip-install': true})
.withGenerators(deps)
.toPromise();
});

Expand Down

0 comments on commit fa9e6b1

Please sign in to comment.