Spotinst - fixing spacing issues in creare.test.js

This commit is contained in:
jeffnoehren 2017-10-09 10:01:55 -07:00
parent b6027faf2e
commit a0f7babc6e

View File

@ -462,19 +462,6 @@ describe('Create', () => {
});
});
it('should generate scaffolding for "spotinst-ruby" template', () => {
process.chdir(tmpDir);
create.options.template = 'spotinst-ruby';
return create.create().then(() => {
const dirContent = fs.readdirSync(tmpDir);
expect(dirContent).to.include('package.json');
expect(dirContent).to.include('serverless.yml');
expect(dirContent).to.include('handler.rb');
expect(dirContent).to.include('.gitignore');
});
});
it('should generate scaffolding for "webtasks-nodejs" template', () => {
process.chdir(tmpDir);
create.options.template = 'webtasks-nodejs';
@ -620,4 +607,4 @@ describe('Create', () => {
expect(() => create.create()).to.throw(Error);
});
});
});
});