From 94a5c0ec7e1fbd22fad767fb800769df5320e8fd Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Sun, 9 Oct 2016 00:14:41 +0100 Subject: [PATCH] fix(new): add prefix to spec name Fix https://github.com/angular/angular-cli/commit/06976f4f07a6d6065124a819b95634bddaac4598#commitcomment-19241601 --- .../blueprints/ng2/files/__path__/app/app.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular-cli/blueprints/ng2/files/__path__/app/app.component.spec.ts b/packages/angular-cli/blueprints/ng2/files/__path__/app/app.component.spec.ts index 7c6fe5eb99e3..df45cc281ed2 100644 --- a/packages/angular-cli/blueprints/ng2/files/__path__/app/app.component.spec.ts +++ b/packages/angular-cli/blueprints/ng2/files/__path__/app/app.component.spec.ts @@ -18,7 +18,7 @@ describe('App: <%= jsComponentName %>', () => { expect(app).toBeTruthy(); })); - it(`should have as title 'app works!'`, async(() => { + it(`should have as title '<%= prefix %> works!'`, async(() => { let fixture = TestBed.createComponent(AppComponent); let app = fixture.debugElement.componentInstance; expect(app.title).toEqual('<%= prefix %> works!');