aboutsummaryrefslogtreecommitdiffstats
path: root/docs/cookbook.form.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cookbook.form.ngdoc')
-rw-r--r--docs/cookbook.form.ngdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/cookbook.form.ngdoc b/docs/cookbook.form.ngdoc
index 7d55f0a4..c9fd9e9a 100644
--- a/docs/cookbook.form.ngdoc
+++ b/docs/cookbook.form.ngdoc
@@ -68,22 +68,22 @@ allow a user to enter data.
it('should validate zip', function(){
expect(using('.example').element(':input[name=user.address.zip]').attr('className'))
- .not().toMatch(/ng-validation-error/)
+ .not().toMatch(/ng-validation-error/);
using('.example').input('user.address.zip').enter('abc');
expect(using('.example').element(':input[name=user.address.zip]').attr('className'))
- .toMatch(/ng-validation-error/)
+ .toMatch(/ng-validation-error/);
});
it('should validate state', function(){
expect(using('.example').element(':input[name=user.address.state]').attr('className'))
- .not().toMatch(/ng-validation-error/)
+ .not().toMatch(/ng-validation-error/);
using('.example').input('user.address.state').enter('XXX');
expect(using('.example').element(':input[name=user.address.state]').attr('className'))
- .toMatch(/ng-validation-error/)
+ .toMatch(/ng-validation-error/);
});
</doc:scenario>
</doc:example>