From a754659917ed0de94b197827a59a1054bd0c6319 Mon Sep 17 00:00:00 2001 From: Stephen Hazleton Date: Sun, 3 Jul 2016 19:56:36 +1000 Subject: [PATCH] Roll out yesterday's demo for #108 --- app/components/clickerForm/clickerForm.html | 2 +- app/components/clickerForm/clickerForm.ts | 2 -- app/pages/clickerList/clickerList.e2e.ts | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/components/clickerForm/clickerForm.html b/app/components/clickerForm/clickerForm.html index 43f864d..cbbaf95 100644 --- a/app/components/clickerForm/clickerForm.html +++ b/app/components/clickerForm/clickerForm.html @@ -2,7 +2,7 @@ - + diff --git a/app/components/clickerForm/clickerForm.ts b/app/components/clickerForm/clickerForm.ts index ed938b3..a9f7d43 100644 --- a/app/components/clickerForm/clickerForm.ts +++ b/app/components/clickerForm/clickerForm.ts @@ -16,7 +16,6 @@ export class ClickerForm { private clickerService: Clickers; private form: ControlGroup; private clickerNameInput: AbstractControl; - private clickerName: string; constructor(clickerService: Clickers, fb: FormBuilder) { this.clickerService = clickerService; @@ -26,7 +25,6 @@ export class ClickerForm { }); this.clickerNameInput = this.form.controls['clickerNameInput']; - this.clickerName = 'Clicker Issue #108'; } public newClicker(formValue: Object): boolean { diff --git a/app/pages/clickerList/clickerList.e2e.ts b/app/pages/clickerList/clickerList.e2e.ts index f3c38d9..607418e 100644 --- a/app/pages/clickerList/clickerList.e2e.ts +++ b/app/pages/clickerList/clickerList.e2e.ts @@ -24,13 +24,13 @@ describe('ClickerList', () => { 'test clicker one'.split('').forEach((c) => clickerField.sendKeys(c)); clickerButton.click(); browser.driver.sleep(1000); - expect(firstClicker.getText()).toEqual('CLICKER ISSUE #108TEST CLICKER ONE (0)'); + expect(firstClicker.getText()).toEqual('TEST CLICKER ONE (0)'); }); it('should click a Clicker', () => { firstClicker.click(); browser.driver.sleep(1000); - expect(firstClicker.getText()).toEqual('CLICKER ISSUE #108TEST CLICKER ONE (1)'); + expect(firstClicker.getText()).toEqual('TEST CLICKER ONE (1)'); }); it('should delete a Clicker', () => {