@@ -486,23 +486,23 @@ describe('MdInputContainer', function () {
486486 let inputEl = fixture . debugElement . query ( By . css ( 'input' ) ) . nativeElement ;
487487 let labelEl = fixture . debugElement . query ( By . css ( 'label' ) ) . nativeElement ;
488488
489- expect ( labelEl . classList ) . not . toContain ( 'md -empty' ) ;
490- expect ( labelEl . classList ) . toContain ( 'md -float' ) ;
489+ expect ( labelEl . classList ) . not . toContain ( 'mat -empty' ) ;
490+ expect ( labelEl . classList ) . toContain ( 'mat -float' ) ;
491491
492492 fixture . componentInstance . shouldFloat = 'auto' ;
493493 fixture . detectChanges ( ) ;
494494
495- expect ( labelEl . classList ) . toContain ( 'md -empty' ) ;
496- expect ( labelEl . classList ) . toContain ( 'md -float' ) ;
495+ expect ( labelEl . classList ) . toContain ( 'mat -empty' ) ;
496+ expect ( labelEl . classList ) . toContain ( 'mat -float' ) ;
497497
498498 // Update the value of the input.
499499 inputEl . value = 'Text' ;
500500
501501 // Fake behavior of the `(input)` event which should trigger a change detection.
502502 fixture . detectChanges ( ) ;
503503
504- expect ( labelEl . classList ) . not . toContain ( 'md -empty' ) ;
505- expect ( labelEl . classList ) . toContain ( 'md -float' ) ;
504+ expect ( labelEl . classList ) . not . toContain ( 'mat -empty' ) ;
505+ expect ( labelEl . classList ) . toContain ( 'mat -float' ) ;
506506 } ) ;
507507
508508 it ( 'should always float the placeholder when floatPlaceholder is set to true' , ( ) => {
@@ -512,8 +512,8 @@ describe('MdInputContainer', function () {
512512 let inputEl = fixture . debugElement . query ( By . css ( 'input' ) ) . nativeElement ;
513513 let labelEl = fixture . debugElement . query ( By . css ( 'label' ) ) . nativeElement ;
514514
515- expect ( labelEl . classList ) . not . toContain ( 'md -empty' ) ;
516- expect ( labelEl . classList ) . toContain ( 'md -float' ) ;
515+ expect ( labelEl . classList ) . not . toContain ( 'mat -empty' ) ;
516+ expect ( labelEl . classList ) . toContain ( 'mat -float' ) ;
517517
518518 fixture . detectChanges ( ) ;
519519
@@ -523,8 +523,8 @@ describe('MdInputContainer', function () {
523523 // Fake behavior of the `(input)` event which should trigger a change detection.
524524 fixture . detectChanges ( ) ;
525525
526- expect ( labelEl . classList ) . not . toContain ( 'md -empty' ) ;
527- expect ( labelEl . classList ) . toContain ( 'md -float' ) ;
526+ expect ( labelEl . classList ) . not . toContain ( 'mat -empty' ) ;
527+ expect ( labelEl . classList ) . toContain ( 'mat -float' ) ;
528528 } ) ;
529529
530530
@@ -537,17 +537,17 @@ describe('MdInputContainer', function () {
537537 let inputEl = fixture . debugElement . query ( By . css ( 'input' ) ) . nativeElement ;
538538 let labelEl = fixture . debugElement . query ( By . css ( 'label' ) ) . nativeElement ;
539539
540- expect ( labelEl . classList ) . toContain ( 'md -empty' ) ;
541- expect ( labelEl . classList ) . not . toContain ( 'md -float' ) ;
540+ expect ( labelEl . classList ) . toContain ( 'mat -empty' ) ;
541+ expect ( labelEl . classList ) . not . toContain ( 'mat -float' ) ;
542542
543543 // Update the value of the input.
544544 inputEl . value = 'Text' ;
545545
546546 // Fake behavior of the `(input)` event which should trigger a change detection.
547547 fixture . detectChanges ( ) ;
548548
549- expect ( labelEl . classList ) . not . toContain ( 'md -empty' ) ;
550- expect ( labelEl . classList ) . not . toContain ( 'md -float' ) ;
549+ expect ( labelEl . classList ) . not . toContain ( 'mat -empty' ) ;
550+ expect ( labelEl . classList ) . not . toContain ( 'mat -float' ) ;
551551 } ) ;
552552
553553} ) ;
0 commit comments