diff options
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(); }); |
