Skip to content

Commit

Permalink
chore: fix bad chips merge and broken tests (angular#2207)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn authored Dec 14, 2016
1 parent ba85883 commit bac0388
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/lib/chips/chip-list.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ describe('MdChipList', () => {
});

TestBed.compileComponents();
}));

beforeEach(() => {
fixture = TestBed.createComponent(StaticChipList);
fixture.detectChanges();

chipListDebugElement = fixture.debugElement.query(By.directive(MdChipList));
chipListNativeElement = chipListDebugElement.nativeElement;
chipListInstance = chipListDebugElement.componentInstance;
testComponent = fixture.debugElement.componentInstance;
}));
});

describe('basic behaviors', () => {
it('adds the `md-chip-list` class', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/chips/chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from '@angular/core';

import {MdFocusable} from '../core/a11y/list-key-manager';
import {coerceBooleanProperty} from '../core/coersion/boolean-property';
import {coerceBooleanProperty} from '../core/coercion/boolean-property';

export interface MdChipEvent {
chip: MdChip;
Expand Down

0 comments on commit bac0388

Please sign in to comment.