aboutsummaryrefslogtreecommitdiffstats
path: root/test/ngRoute/routeSpec.js
diff options
context:
space:
mode:
authorKen Sheedlo2013-08-13 15:30:52 -0700
committerKen Sheedlo2013-08-15 13:23:18 -0700
commit37123cd2858b4e318ed8109af745312df4848577 (patch)
tree118abe5fd50e1c6fef4281972cf52c0162482fa8 /test/ngRoute/routeSpec.js
parentfe267e30b95e8f48ddc670b97d485f18fb64d39e (diff)
downloadangular.js-37123cd2858b4e318ed8109af745312df4848577.tar.bz2
feat(minerr): log minerr doc url in development
Closes #3566
Diffstat (limited to 'test/ngRoute/routeSpec.js')
-rw-r--r--test/ngRoute/routeSpec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ngRoute/routeSpec.js b/test/ngRoute/routeSpec.js
index 0064c26c..ae9883a2 100644
--- a/test/ngRoute/routeSpec.js
+++ b/test/ngRoute/routeSpec.js
@@ -545,7 +545,8 @@ describe('$route', function() {
$location.path('/foo');
expect(function() {
$rootScope.$digest();
- }).toThrow('[$sce:insecurl] Blocked loading resource from url not allowed by $sceDelegate policy. URL: http://example.com/foo.html');
+ }).toThrowMinErr('$sce', 'insecurl', 'Blocked loading resource from url not allowed by ' +
+ '$sceDelegate policy. URL: http://example.com/foo.html');
});
});