diff options
Diffstat (limited to 'test/widgetsSpec.js')
| -rw-r--r-- | test/widgetsSpec.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js index 632724ce..753a36b4 100644 --- a/test/widgetsSpec.js +++ b/test/widgetsSpec.js @@ -247,8 +247,8 @@ describe('widget', function() {          };        } +      beforeEach(module(spyOnAutoScroll()));        beforeEach(inject( -          spyOnAutoScroll(),            putIntoCache('template.html', 'CONTENT'),            putIntoCache('another.html', 'CONTENT'))); @@ -681,7 +681,7 @@ describe('widget', function() {      it('should be possible to nest ng:view in ng:include', inject(function() {        // TODO(vojta): refactor this test -      var injector = angular.injector('ng', 'ngMock'); +      var injector = angular.injector(['ng', 'ngMock']);        var myApp = injector.get('$rootScope');        var $httpBackend = injector.get('$httpBackend');        $httpBackend.expect('GET', 'includePartial.html').respond('view: <ng:view></ng:view>'); | 
