diff options
| author | Vojta Jina | 2011-04-20 00:24:20 +0200 |
|---|---|---|
| committer | Igor Minar | 2011-04-25 08:17:17 -0700 |
| commit | f85c82acd623e63f23a4f3ebba239280f14e380b (patch) | |
| tree | d4e18fa18ce3415586b736def8edfbe93d9366b1 /docs/cookbook.form.ngdoc | |
| parent | 35bb19856cc8f3d8923305869c0d4ffa4a03aa8f (diff) | |
| download | angular.js-f85c82acd623e63f23a4f3ebba239280f14e380b.tar.bz2 | |
Fix some typos, missing semi-colons, etc...
This is a combination of 4 commits:
* Fix some small typos, missing semi-colons, etc.
* Fix comment for angular.scenario.SpecRunner.run method
* Fixed some missing semi-colons in cookbook
* Fixed missing semi-colon in nodeserver/server.js
Diffstat (limited to 'docs/cookbook.form.ngdoc')
| -rw-r--r-- | docs/cookbook.form.ngdoc | 8 |
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> |
