diff --git a/addon/ng2/blueprints/component/files/__path__/__name__.component.spec.ts b/addon/ng2/blueprints/component/files/__path__/__name__.component.spec.ts index 33ee6b57ea7d..ab45686fda33 100644 --- a/addon/ng2/blueprints/component/files/__path__/__name__.component.spec.ts +++ b/addon/ng2/blueprints/component/files/__path__/__name__.component.spec.ts @@ -18,5 +18,4 @@ describe('Component: <%= classifiedModuleName %>', () => { it('should create the component', inject([<%= classifiedModuleName %>Component], (component: <%= classifiedModuleName %>Component) => { expect(component).toBeTruthy(); })); - }); diff --git a/addon/ng2/blueprints/directive/files/__path__/__name__.directive.spec.ts b/addon/ng2/blueprints/directive/files/__path__/__name__.directive.spec.ts index 3778644742d5..c70070807e14 100644 --- a/addon/ng2/blueprints/directive/files/__path__/__name__.directive.spec.ts +++ b/addon/ng2/blueprints/directive/files/__path__/__name__.directive.spec.ts @@ -20,14 +20,11 @@ import {<%= classifiedModuleName %>} from './<%= dasherizedModuleName %>.directi class TestComponent {} describe('<%= classifiedModuleName %> Directive', () => { - beforeEachProviders((): any[] => []); - it('should ...', async(inject([TestComponentBuilder], (tcb:TestComponentBuilder) => { return tcb.createAsync(TestComponent).then((fixture: ComponentFixture) => { fixture.detectChanges(); }); }))); - }); diff --git a/addon/ng2/blueprints/pipe/files/__path__/__name__.pipe.spec.ts b/addon/ng2/blueprints/pipe/files/__path__/__name__.pipe.spec.ts index b120cdd7bf91..0b04dd99ef8f 100644 --- a/addon/ng2/blueprints/pipe/files/__path__/__name__.pipe.spec.ts +++ b/addon/ng2/blueprints/pipe/files/__path__/__name__.pipe.spec.ts @@ -12,11 +12,9 @@ import {provide} from 'angular2/core'; import {<%= classifiedModuleName %>} from './<%= dasherizedModuleName %>.pipe'; describe('<%= classifiedModuleName %> Pipe', () => { - beforeEachProviders(() => [<%= classifiedModuleName%>]); it('should transform the input', inject([<%= classifiedModuleName %>], (pipe:<%= classifiedModuleName %>) => { expect(pipe.transform(true)).toBe(null); })); - });