@@ -16,7 +16,7 @@ describe('MdSelect', () => {
16
16
beforeEach ( async ( ( ) => {
17
17
TestBed . configureTestingModule ( {
18
18
imports : [ MdSelectModule . forRoot ( ) , ReactiveFormsModule , FormsModule ] ,
19
- declarations : [ BasicSelect , NgModelSelect , ManySelects , NgIfSelect , SelectWithoutOptions ] ,
19
+ declarations : [ BasicSelect , NgModelSelect , ManySelects , NgIfSelect , SelectInitWithoutOptions ] ,
20
20
providers : [
21
21
{ provide : OverlayContainer , useFactory : ( ) => {
22
22
overlayContainerElement = document . createElement ( 'div' ) as HTMLElement ;
@@ -241,7 +241,7 @@ describe('MdSelect', () => {
241
241
242
242
it ( 'should select the proper option when the list of options is initialized at a later point' ,
243
243
async ( ( ) => {
244
- let fixture = TestBed . createComponent ( SelectWithoutOptions ) ;
244
+ let fixture = TestBed . createComponent ( SelectInitWithoutOptions ) ;
245
245
let instance = fixture . componentInstance ;
246
246
247
247
fixture . detectChanges ( ) ;
@@ -1257,7 +1257,7 @@ class NgIfSelect {
1257
1257
1258
1258
1259
1259
@Component ( {
1260
- selector : 'ng-if-select ' ,
1260
+ selector : 'select-init-without-options ' ,
1261
1261
template : `
1262
1262
<md-select placeholder="Food I want to eat right now" [formControl]="control">
1263
1263
<md-option *ngFor="let food of foods" [value]="food.value">
@@ -1266,7 +1266,7 @@ class NgIfSelect {
1266
1266
</md-select>
1267
1267
`
1268
1268
} )
1269
- class SelectWithoutOptions {
1269
+ class SelectInitWithoutOptions {
1270
1270
foods : any [ ] ;
1271
1271
control = new FormControl ( 'pizza-1' ) ;
1272
1272
0 commit comments