aboutsummaryrefslogtreecommitdiffstats
path: root/test/ValidatorsTest.js
diff options
context:
space:
mode:
authorMisko Hevery2010-04-21 12:50:05 -0700
committerMisko Hevery2010-04-21 12:50:05 -0700
commite78405f6ed82fcd2e9a1cdffb7f1103d52752623 (patch)
tree1854bda08d6aa5e3c9e62056388eb7b83236f02b /test/ValidatorsTest.js
parent22d93e0a3bc2a6dc0f64c63c68bc8f8489ea9068 (diff)
downloadangular.js-e78405f6ed82fcd2e9a1cdffb7f1103d52752623.tar.bz2
more if tests pass
Diffstat (limited to 'test/ValidatorsTest.js')
-rw-r--r--test/ValidatorsTest.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ValidatorsTest.js b/test/ValidatorsTest.js
index b2403eab..573c340d 100644
--- a/test/ValidatorsTest.js
+++ b/test/ValidatorsTest.js
@@ -12,7 +12,7 @@ ValidatorTest.prototype.testItShouldHaveThisSet = function() {
scope.$init();
assertEquals('misko', validator.first);
assertEquals('hevery', validator.last);
- assertSame(scope, validator._this.__proto__);
+ expect(validator._this.$id).toEqual(scope.$id);
delete angular.validator.myValidator;
scope.$element.remove();
};