chore(checkbox): duplicate event binding in tests (#4758)

* Removes the duplicate event binding for the `(change)` event in the checkbox tests.
This commit is contained in:
Paul Gschwendtner
2017-05-25 22:36:25 +02:00
committed by tinayuangao
parent e3b2587294
commit 1789f40722
-2
View File
@@ -795,7 +795,6 @@ describe('MdCheckbox', () => {
[color]="checkboxColor"
[disableRipple]="disableRipple"
[value]="checkboxValue"
(change)="changeCount = changeCount + 1"
(click)="onCheckboxClick($event)"
(change)="onCheckboxChange($event)">
Simple checkbox
@@ -812,7 +811,6 @@ class SingleCheckbox {
parentElementClicked: boolean = false;
parentElementKeyedUp: boolean = false;
lastKeydownEvent: Event = null;
changeCount: number = 0;
checkboxColor: string = 'primary';
checkboxValue: string = 'single_checkbox';