diff options
| author | Vojta Jina | 2012-03-09 17:19:48 -0800 |
|---|---|---|
| committer | Vojta Jina | 2012-03-09 17:33:22 -0800 |
| commit | 716dd5f3f90f853713706aa3b404822fef18ef93 (patch) | |
| tree | eb30e28a834c70fb1d799ad2cba0014171445ae7 /test/directive/formSpec.js | |
| parent | 83314913e717f18cdb9a817e67c24651930ebe7e (diff) | |
| download | angular.js-716dd5f3f90f853713706aa3b404822fef18ef93.tar.bz2 | |
refactor(forms): Remove touch() method
Diffstat (limited to 'test/directive/formSpec.js')
| -rw-r--r-- | test/directive/formSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/directive/formSpec.js b/test/directive/formSpec.js index 6559da5d..45af04a4 100644 --- a/test/directive/formSpec.js +++ b/test/directive/formSpec.js @@ -197,7 +197,7 @@ describe('form', function() { it('should have ng-pristine/ng-dirty css class', function() { expect(doc).toBePristine(); - widget.touch(); + widget.setViewValue(''); scope.$apply(); expect(doc).toBeDirty(); }); |
