diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js index b93d698d..e75b2592 100644 --- a/test/widgetsSpec.js +++ b/test/widgetsSpec.js @@ -575,7 +575,7 @@ describe("widget", function() { $location.path('/bar'); $browser.xhr.expectGET('myUrl2').respond('
{{1+1}}
'); rootScope.$digest(); - $browser.xhr.flush(); // no that we have to requests pending, flush! + $browser.xhr.flush(); // now that we have to requests pending, flush! expect(rootScope.$element.text()).toEqual('2'); });