From 78a445fa375400a2ced5383b485f26fc0ae363d2 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 1 Aug 2013 15:39:22 -0700 Subject: docs(compile/notassign): description for compile/notassign error Closes #3459 --- test/ng/compileSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js index f7f2c51b..7525806c 100755 --- a/test/ng/compileSpec.js +++ b/test/ng/compileSpec.js @@ -2110,7 +2110,7 @@ describe('$compile', function() { componentScope.ref = 'ignore me'; expect($rootScope.$apply). - toThrow("[$compile:noass] Expression ''hello ' + name' used with directive 'myComponent' is non-assignable!"); + toThrow("[$compile:nonassign] Expression ''hello ' + name' used with directive 'myComponent' is non-assignable!"); expect(componentScope.ref).toBe('hello world'); // reset since the exception was rethrown which prevented phase clearing $rootScope.$$phase = null; @@ -3240,7 +3240,7 @@ describe('$compile', function() { }; }); }); - inject(function($compile, $rootScope) { + inject(function($compile) { expect(function() { element = $compile( '
' + -- cgit v1.2.3