test(docs): add missing createMockWindow()

Add missing angular.mock.createMockWindow (removed in
0dd062231a), that the docs tests were
using.
This commit is contained in:
Vojta Jina
2013-08-13 23:58:53 -07:00
parent b73c46c2fd
commit 670ca75c8a
3 changed files with 32 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ describe('DocsApp', function() {
'1.1.4',
'2.1.3'
]);
$provide.value('$window', window = angular.mock.createMockWindow());
$provide.value('$window', window = createMockWindow());
});
inject(function($controller, $rootScope) {
$scope = $rootScope.$new();