From b2631f61709ae71bb29ec6f1353f2a3c1ad33cd3 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 4 Jan 2011 11:53:23 -0800 Subject: rename scope.$inject to scope.$service see changelog diff for more info --- test/ValidatorsTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ValidatorsTest.js') diff --git a/test/ValidatorsTest.js b/test/ValidatorsTest.js index d6df7184..c59aaf77 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.$inject('$invalidWidgets')[0]).toEqual(self.$element); + expect(self.$service('$invalidWidgets')[0]).toEqual(self.$element); var spy = jasmine.createSpy(); asynchronous.call(self, "kai", spy); -- cgit v1.2.3