8000 Oops. · johnrees/arangodb@ca3bf55 · GitHub
[go: up one dir, main page]

Skip to content

Commit ca3bf55

Browse files
committed
Oops.
1 parent 43063dc commit ca3bf55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/server/tests/shell-foxx.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,8 @@ function DocumentationAndConstraintsSpec () {
964964
paramName = 'flurb',
965965
description = stub(),
966966
requestBody = 'banana',
967-
schema = joi.array().items({x: joi.number().integer().required()});
967+
schema = joi.array().items({x: joi.number().integer().required()}),
968+
called = false;
968969

969970
allow(req)
970971
.toReceive("body")
@@ -980,6 +981,7 @@ function DocumentationAndConstraintsSpec () {
980981
var callback = transformRoute(routes[0].action);
981982
callback(req, res);
982983

984+
assertFalse(called);
983985
assertEqual(res.responseCode, 400);
984986
},
985987

0 commit comments

Comments
 (0)
0