22 lines
524 B
JavaScript
22 lines
524 B
JavaScript
(function () {
|
|
'use strict';
|
|
var path = require('path');
|
|
var assert = require('yeoman-assert');
|
|
var helpers = require('yeoman-generator').test;
|
|
|
|
describe('generator-openstack:app', function () {
|
|
before(function (done) {
|
|
helpers.run(path.join(__dirname, '../generators/app'))
|
|
.withOptions({someOption: true})
|
|
.withPrompts({someAnswer: true})
|
|
.on('end', done);
|
|
});
|
|
|
|
it('creates files', function () {
|
|
assert.file([
|
|
'dummyfile.txt'
|
|
]);
|
|
});
|
|
});
|
|
})();
|