diff --git a/src/directives.js b/src/directives.js index 70b09c88..47a6ef56 100644 --- a/src/directives.js +++ b/src/directives.js @@ -623,7 +623,7 @@ function classDirective(name, selector) { * @example - +
Sample Text      @@ -631,17 +631,17 @@ function classDirective(name, selector) { it('should check ng:class', function() { expect(element('.doc-example-live span').prop('className')).not(). - toMatch(/ng-input-indicator-wait/); + toMatch(/ng-invalid/); using('.doc-example-live').element(':button:first').click(); expect(element('.doc-example-live span').prop('className')). - toMatch(/ng-input-indicator-wait/); + toMatch(/ng-invalid/); using('.doc-example-live').element(':button:last').click(); expect(element('.doc-example-live span').prop('className')).not(). - toMatch(/ng-input-indicator-wait/); + toMatch(/ng-invalid/); });
@@ -670,7 +670,7 @@ var ngClassDirective = classDirective('', true);
  1. + ng:class-even="'ng-invalid'"> {{name}}      
  2. @@ -681,7 +681,7 @@ var ngClassDirective = classDirective('', true); expect(element('.doc-example-live li:first span').prop('className')). toMatch(/ng-format-negative/); expect(element('.doc-example-live li:last span').prop('className')). - toMatch(/ng-input-indicator-wait/); + toMatch(/ng-invalid/); });