@@ -623,25 +623,25 @@ function classDirective(name, selector) {
623
623
* @example
624
624
<doc:example>
625
625
<doc:source>
626
- <input type="button" value="set" ng:click="myVar='ng-input-indicator-wait '">
626
+ <input type="button" value="set" ng:click="myVar='ng-invalid '">
627
627
<input type="button" value="clear" ng:click="myVar=''">
628
628
<br>
629
629
<span ng:class="myVar">Sample Text </span>
630
630
</doc:source>
631
631
<doc:scenario>
632
632
it('should check ng:class', function() {
633
633
expect(element('.doc-example-live span').prop('className')).not().
634
- toMatch(/ng-input-indicator-wait /);
634
+ toMatch(/ng-invalid /);
635
635
636
636
using('.doc-example-live').element(':button:first').click();
637
637
638
638
expect(element('.doc-example-live span').prop('className')).
639
- toMatch(/ng-input-indicator-wait /);
639
+ toMatch(/ng-invalid /);
640
640
641
641
using('.doc-example-live').element(':button:last').click();
642
642
643
643
expect(element('.doc-example-live span').prop('className')).not().
644
- toMatch(/ng-input-indicator-wait /);
644
+ toMatch(/ng-invalid /);
645
645
});
646
646
</doc:scenario>
647
647
</doc:example>
@@ -670,7 +670,7 @@ var ngClassDirective = classDirective('', true);
670
670
<ol ng:init="names=['John', 'Mary', 'Cate', 'Suz']">
671
671
<li ng:repeat="name in names">
672
672
<span ng:class-odd="'ng-format-negative'"
673
- ng:class-even="'ng-input-indicator-wait '">
673
+ ng:class-even="'ng-invalid '">
674
674
{{name}}
675
675
</span>
676
676
</li>
@@ -681,7 +681,7 @@ var ngClassDirective = classDirective('', true);
681
681
expect(element('.doc-example-live li:first span').prop('className')).
682
682
toMatch(/ng-format-negative/);
683
683
expect(element('.doc-example-live li:last span').prop('className')).
684
- toMatch(/ng-input-indicator-wait /);
684
+ toMatch(/ng-invalid /);
685
685
});
686
686
</doc:scenario>
687
687
</doc:example>
0 commit comments