aboutsummaryrefslogtreecommitdiffstats
path: root/test/directive/formSpec.js
diff options
context:
space:
mode:
authorVojta Jina2012-03-09 17:19:48 -0800
committerVojta Jina2012-03-09 17:33:22 -0800
commit716dd5f3f90f853713706aa3b404822fef18ef93 (patch)
treeeb30e28a834c70fb1d799ad2cba0014171445ae7 /test/directive/formSpec.js
parent83314913e717f18cdb9a817e67c24651930ebe7e (diff)
downloadangular.js-716dd5f3f90f853713706aa3b404822fef18ef93.tar.bz2
refactor(forms): Remove touch() method
Diffstat (limited to 'test/directive/formSpec.js')
-rw-r--r--test/directive/formSpec.js2
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();
});