Skip to content

Commit e4282a4

Browse files
author
Ales Rechtorik
committed
fix "supports a name attribute test"
1 parent 78ef125 commit e4282a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/input/input.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,11 @@ describe('MdInput', function () {
602602

603603
it('supports a name attribute', () => {
604604
let fixture = TestBed.createComponent(MdInputWithNameTestController);
605+
606+
fixture.detectChanges();
607+
605608
const inputElement: HTMLInputElement = fixture.debugElement.query(By.css('input'))
606609
.nativeElement;
607-
fixture.detectChanges();
608610

609611
expect(inputElement.name).toBe('some-name');
610612
});

0 commit comments

Comments
 (0)