diff options
| author | Misko Hevery | 2012-05-03 16:30:36 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2012-05-04 15:50:39 -0700 | 
| commit | 7f0eb1516165fcb73f1c9953018b7c9b70acfae1 (patch) | |
| tree | 30c8902513bcf7441719ded7a4b9a8cb71b69311 /test/ng/compileSpec.js | |
| parent | c4fa48725039c30349af725583f147e7f4fb69c7 (diff) | |
| download | angular.js-7f0eb1516165fcb73f1c9953018b7c9b70acfae1.tar.bz2 | |
fix($compile): have $observe return registration function
Diffstat (limited to 'test/ng/compileSpec.js')
| -rw-r--r-- | test/ng/compileSpec.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js index c5592816..86ba3ade 100644 --- a/test/ng/compileSpec.js +++ b/test/ng/compileSpec.js @@ -1255,7 +1255,7 @@ describe('$compile', function() {          return function(scope, elm, attr) {            observeSpy = jasmine.createSpy('$observe attr'); -          attr.$observe('someAttr', observeSpy); +          expect(attr.$observe('someAttr', observeSpy)).toBe(observeSpy);            attrValueDuringLinking = attr.someAttr;          };        }); | 
