@@ -486,23 +486,23 @@ describe('MdInputContainer', function () {
486
486
let inputEl = fixture . debugElement . query ( By . css ( 'input' ) ) . nativeElement ;
487
487
let labelEl = fixture . debugElement . query ( By . css ( 'label' ) ) . nativeElement ;
488
488
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' ) ;
491
491
492
492
fixture . componentInstance . shouldFloat = 'auto' ;
493
493
fixture . detectChanges ( ) ;
494
494
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' ) ;
497
497
498
498
// Update the value of the input.
499
499
inputEl . value = 'Text' ;
500
500
501
501
// Fake behavior of the `(input)` event which should trigger a change detection.
502
502
fixture . detectChanges ( ) ;
503
503
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' ) ;
506
506
} ) ;
507
507
508
508
it ( 'should always float the placeholder when floatPlaceholder is set to true' , ( ) => {
@@ -512,8 +512,8 @@ describe('MdInputContainer', function () {
512
512
let inputEl = fixture . debugElement . query ( By . css ( 'input' ) ) . nativeElement ;
513
513
let labelEl = fixture . debugElement . query ( By . css ( 'label' ) ) . nativeElement ;
514
514
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' ) ;
517
517
518
518
fixture . detectChanges ( ) ;
519
519
@@ -523,8 +523,8 @@ describe('MdInputContainer', function () {
523
523
// Fake behavior of the `(input)` event which should trigger a change detection.
524
524
fixture . detectChanges ( ) ;
525
525
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' ) ;
528
528
} ) ;
529
529
530
530
@@ -537,17 +537,17 @@ describe('MdInputContainer', function () {
537
537
let inputEl = fixture . debugElement . query ( By . css ( 'input' ) ) . nativeElement ;
538
538
let labelEl = fixture . debugElement . query ( By . css ( 'label' ) ) . nativeElement ;
539
539
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' ) ;
542
542
543
543
// Update the value of the input.
544
544
inputEl . value = 'Text' ;
545
545
546
546
// Fake behavior of the `(input)` event which should trigger a change detection.
547
547
fixture . detectChanges ( ) ;
548
548
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' ) ;
551
551
} ) ;
552
552
553
553
} ) ;
0 commit comments