aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/compileSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2013-08-01 15:39:22 -0700
committerIgor Minar2013-08-08 14:33:16 -0700
commit78a445fa375400a2ced5383b485f26fc0ae363d2 (patch)
tree6a918f1da36b463b87a686dce1384bc77bc433ea /test/ng/compileSpec.js
parent4e76d0469ec4be3d704e8b2c3a98748357e93232 (diff)
downloadangular.js-78a445fa375400a2ced5383b485f26fc0ae363d2.tar.bz2
docs(compile/notassign): description for compile/notassign error
Closes #3459
Diffstat (limited to 'test/ng/compileSpec.js')
-rwxr-xr-xtest/ng/compileSpec.js4
1 files changed, 2 insertions, 2 deletions
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(
'<div>' +