diff options
| author | Igor Minar | 2011-01-04 00:46:25 -0800 |
|---|---|---|
| committer | Igor Minar | 2011-01-04 16:40:41 -0800 |
| commit | 3ea5941f0e51c57f55071a85f2033c23c99847c0 (patch) | |
| tree | 74b8b20178e96f13c5f3550740e35dcb68642a8a /test/ValidatorsTest.js | |
| parent | d0270d92568e1b7c762b42a0ee0712b65d9acc5c (diff) | |
| download | angular.js-3ea5941f0e51c57f55071a85f2033c23c99847c0.tar.bz2 | |
removing support for 'eager-published' services
Diffstat (limited to 'test/ValidatorsTest.js')
| -rw-r--r-- | test/ValidatorsTest.js | 2 |
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); |
