diff --git a/src/components/autocomplete/autocomplete.spec.js b/src/components/autocomplete/autocomplete.spec.js index 925c3f44537..043031765ab 100644 --- a/src/components/autocomplete/autocomplete.spec.js +++ b/src/components/autocomplete/autocomplete.spec.js @@ -914,7 +914,7 @@ describe('', function() { })); it('removes the md-scroll-mask on cleanup', inject(function($mdUtil, $timeout, $material) { - spyOn($mdUtil, 'enableScrolling'); + spyOn($mdUtil, 'enableScrolling').and.callThrough(); var scope = createScope(); var template = @@ -957,7 +957,7 @@ describe('', function() { })); it('removes the md-scroll-mask when md-autocomplete removed on change', inject(function($mdUtil, $timeout, $material) { - spyOn($mdUtil, 'enableScrolling'); + spyOn($mdUtil, 'enableScrolling').and.callThrough(); var scope = createScope(); var template =