From eb8a1257dd103eff8e1f0a8ab3297a00569a855d Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 2 Jul 2022 22:06:07 +0200 Subject: [PATCH] fix: test for title --- src/app/app.component.spec.ts | 4 ++-- src/app/app.component.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index 1020fbe..39cb50a 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -16,10 +16,10 @@ describe('AppComponent', () => { expect(app).toBeTruthy(); }); - it(`should have as title 'speisekarten-generator'`, () => { + it(`should have as title 'speisekarten-editor'`, () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.componentInstance; - expect(app.title).toEqual('speisekarten-generator'); + expect(app.title).toEqual('speisekarten-editor'); }); it('should render title', () => { diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 07226bc..265d4dc 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -21,6 +21,7 @@ export class AppComponent implements AfterViewChecked public foodcard: IFoodCard = { Titles: [] }; public downloadJsonHref: SafeUrl = ""; public downloadHtmlHref: SafeUrl = ""; + public title = "speisekarten-editor"; constructor(private jsonFileService: JsonFileService, private htmlExportService: HtmlExportService) {} -- 2.39.5