Skip to content

Commit

Permalink
Correctly flag arguments / options for test
Browse files Browse the repository at this point in the history
  • Loading branch information
bradp committed Mar 27, 2017
1 parent e6e2c02 commit f050978
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ var helpers = require('yeoman-test');
describe('generator-chassis-wp:app', function () {
before(function () {
return helpers.run(path.join(__dirname, '../generators/app'))
.withPrompts({someAnswer: true})
.withPrompts({
name: 'test'
})
.withArguments(['skip-vagrant'])
.toPromise();
});

it('creates files', function () {
assert.file([
'config.local.yaml'
'test/config.local.yaml'
]);
});
});

0 comments on commit f050978

Please sign in to comment.