aboutsummaryrefslogtreecommitdiffstats
path: root/test/directive/ngViewSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/directive/ngViewSpec.js')
-rw-r--r--test/directive/ngViewSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/directive/ngViewSpec.js b/test/directive/ngViewSpec.js
index d74812d3..afdded94 100644
--- a/test/directive/ngViewSpec.js
+++ b/test/directive/ngViewSpec.js
@@ -271,7 +271,7 @@ describe('ng:view', function() {
inject(function($templateCache, $rootScope, $location) {
$rootScope.$on('$beforeRouteChange', logger('$beforeRouteChange'));
$rootScope.$on('$afterRouteChange', logger('$afterRouteChange'));
- $rootScope.$on('$contentLoaded', logger('$contentLoaded'));
+ $rootScope.$on('$viewContentLoaded', logger('$viewContentLoaded'));
$templateCache.put('tpl.html', [200, '{{value}}', {}]);
$location.path('/foo');
@@ -279,7 +279,7 @@ describe('ng:view', function() {
expect(element.text()).toBe('bound-value');
expect(log).toEqual(['$beforeRouteChange', '$afterRouteChange', 'init-ctrl',
- '$contentLoaded']);
+ '$viewContentLoaded']);
});
});