aboutsummaryrefslogtreecommitdiffstats
path: root/test/angular-mocksSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/angular-mocksSpec.js')
-rw-r--r--test/angular-mocksSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/angular-mocksSpec.js b/test/angular-mocksSpec.js
index 6b6f0052..e117c26d 100644
--- a/test/angular-mocksSpec.js
+++ b/test/angular-mocksSpec.js
@@ -399,7 +399,7 @@ describe('mocks', function() {
hb.when('GET', '/url1').respond(200, 'content');
expect(function() {
hb('GET', '/xxx');
- }).toThrow('Unexpected request: GET /xxx');
+ }).toThrow('Unexpected request: GET /xxx\nNo more request expected');
});
@@ -506,7 +506,7 @@ describe('mocks', function() {
expect(function() {
hb('GET', '/url2', null, noop, {});
- }).toThrow('Unexpected request: GET /url2');
+ }).toThrow('Unexpected request: GET /url2\nExpected GET /url1');
});