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.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/directive/ngViewSpec.js b/test/directive/ngViewSpec.js
index afdded94..2a4347a0 100644
--- a/test/directive/ngViewSpec.js
+++ b/test/directive/ngViewSpec.js
@@ -1,6 +1,6 @@
'use strict';
-describe('ng:view', function() {
+describe('ng-view', function() {
var element;
beforeEach(module(function() {
@@ -118,7 +118,7 @@ describe('ng:view', function() {
});
- it('should be possible to nest ng:view in ng:include', inject(function() {
+ it('should be possible to nest ng-view in ng-include', inject(function() {
// TODO(vojta): refactor this test
dealoc(element);
var injector = angular.injector(['ng', 'ngMock', function($routeProvider) {
@@ -149,7 +149,7 @@ describe('ng:view', function() {
it('should initialize view template after the view controller was initialized even when ' +
'templates were cached', function() {
- //this is a test for a regression that was introduced by making the ng:view cache sync
+ //this is a test for a regression that was introduced by making the ng-view cache sync
function ParentCtrl($scope) {
$scope.log.push('parent');
}
@@ -168,8 +168,8 @@ describe('ng:view', function() {
$location.path('/foo');
$httpBackend.expect('GET', 'viewPartial.html').
- respond('<div ng:init="log.push(\'init\')">' +
- '<div ng:controller="ChildCtrl"></div>' +
+ respond('<div ng-init="log.push(\'init\')">' +
+ '<div ng-controller="ChildCtrl"></div>' +
'</div>');
$rootScope.$apply();
$httpBackend.flush();