diff options
Diffstat (limited to 'share/www/script')
-rw-r--r-- | share/www/script/test/view_errors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/test/view_errors.js b/share/www/script/test/view_errors.js index 256e9569..0f90c46f 100644 --- a/share/www/script/test/view_errors.js +++ b/share/www/script/test/view_errors.js @@ -55,7 +55,7 @@ couchTests.view_errors = function(debug) { map : "function(doc){emit(doc.integer)}" }) }); - T(JSON.parse(xhr.responseText).error == "invalid_json"); + T(JSON.parse(xhr.responseText).error == "bad_request"); // views should ignore Content-Type, like the rest of CouchDB var xhr = CouchDB.request("POST", "/test_suite_db/_temp_view", { |