aboutsummaryrefslogtreecommitdiffstats
path: root/test/ValidatorsTest.js
diff options
context:
space:
mode:
authorIgor Minar2011-01-04 00:46:25 -0800
committerIgor Minar2011-01-04 16:40:41 -0800
commit3ea5941f0e51c57f55071a85f2033c23c99847c0 (patch)
tree74b8b20178e96f13c5f3550740e35dcb68642a8a /test/ValidatorsTest.js
parentd0270d92568e1b7c762b42a0ee0712b65d9acc5c (diff)
downloadangular.js-3ea5941f0e51c57f55071a85f2033c23c99847c0.tar.bz2
removing support for 'eager-published' services
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 f740c7b2..d6df7184 100644
--- a/test/ValidatorsTest.js
+++ b/test/ValidatorsTest.js
@@ -128,7 +128,7 @@ describe('Validator:asynchronous', function(){
it("should not make second request to same value", function(){
asynchronous.call(self, "kai", function(v,f){value=v; fn=f;});
expect(value).toEqual('kai');
- expect(self.$invalidWidgets[0]).toEqual(self.$element);
+ expect(self.$inject('$invalidWidgets')[0]).toEqual(self.$element);
var spy = jasmine.createSpy();
asynchronous.call(self, "kai", spy);