diff --git a/packages/angular-cli/blueprints/ng2/files/__path__/app/shared/index.ts b/packages/angular-cli/blueprints/ng2/files/__path__/app/shared/index.ts deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/tests/acceptance/generate-class.spec.js b/tests/acceptance/generate-class.spec.js index 5ec94d056f30..1ba54b8b6ca9 100644 --- a/tests/acceptance/generate-class.spec.js +++ b/tests/acceptance/generate-class.spec.js @@ -48,16 +48,4 @@ describe('Acceptance: ng generate class', function () { expect(existsSync(path.join(testPath, 'my-class.model.ts'))).to.equal(true); }); }); - - it(`ng generate class shared${path.sep}my-class`, function () { - return ng(['generate', 'class', 'shared/my-class']).then(() => { - expect(existsSync(path.join(testPath, 'shared', 'my-class.ts'))).to.equal(true); - }); - }); - - it(`ng generate class shared${path.sep}my-class model`, function () { - return ng(['generate', 'class', 'shared/my-class', 'model']).then(() => { - expect(existsSync(path.join(testPath, 'shared', 'my-class.model.ts'))).to.equal(true); - }); - }); }); diff --git a/tests/acceptance/generate-module.spec.js b/tests/acceptance/generate-module.spec.js index 6d376330368d..aa3aeaa9b4b8 100644 --- a/tests/acceptance/generate-module.spec.js +++ b/tests/acceptance/generate-module.spec.js @@ -43,18 +43,4 @@ describe('Acceptance: ng generate module', function () { expect(existsSync(path.join(testPath, 'my-module', 'my-module.module.spec.ts'))).to.equal(true); }); }); - - it(`ng generate module shared${path.sep}my-module`, function () { - return ng(['generate', 'module', 'shared/my-module']).then(() => { - expect(existsSync(path.join(testPath, 'shared', 'my-module', 'my-module.module.ts'))).to.equal(true); - expect(existsSync(path.join(testPath, 'shared', 'my-module', 'my-module.module.spec.ts'))).to.equal(false); - }); - }); - - it(`ng generate module shared${path.sep}my-module --spec`, function () { - return ng(['generate', 'module', 'shared/my-module', '--spec']).then(() => { - expect(existsSync(path.join(testPath, 'shared', 'my-module', 'my-module.module.ts'))).to.equal(true); - expect(existsSync(path.join(testPath, 'shared', 'my-module', 'my-module.module.spec.ts'))).to.equal(true); - }); - }); });