summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/test/erlang_views.js2
-rw-r--r--share/www/script/test/list_views.js2
-rw-r--r--share/www/script/test/show_documents.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/share/www/script/test/erlang_views.js b/share/www/script/test/erlang_views.js
index 4e1e676e..e9e0363f 100644
--- a/share/www/script/test/erlang_views.js
+++ b/share/www/script/test/erlang_views.js
@@ -57,7 +57,7 @@ couchTests.erlang_views = function(debug) {
'fun(Doc, {Req}) -> ' +
' {Info} = proplists:get_value(<<"info">>, Req, {[]}), ' +
' Purged = proplists:get_value(<<"purge_seq">>, Info, -1), ' +
- ' Verb = proplists:get_value(<<"verb">>, Req, <<"not_get">>), ' +
+ ' Verb = proplists:get_value(<<"method">>, Req, <<"not_get">>), ' +
' R = list_to_binary(io_lib:format("~b - ~s", [Purged, Verb])), ' +
' {[{<<"code">>, 200}, {<<"headers">>, {[]}}, {<<"body">>, R}]} ' +
'end.'
diff --git a/share/www/script/test/list_views.js b/share/www/script/test/list_views.js
index 68dfe71c..54214c2c 100644
--- a/share/www/script/test/list_views.js
+++ b/share/www/script/test/list_views.js
@@ -228,7 +228,7 @@ couchTests.list_views = function(debug) {
TEquals(resp.rows[0], {"id": "0","key": 0,"value": "0"});
TEquals(resp.req.info.db_name, "test_suite_db");
- TEquals(resp.req.verb, "GET");
+ TEquals(resp.req.method, "GET");
TEquals(resp.req.path, [
"test_suite_db",
"_design",
diff --git a/share/www/script/test/show_documents.js b/share/www/script/test/show_documents.js
index 5441e72c..f484e029 100644
--- a/share/www/script/test/show_documents.js
+++ b/share/www/script/test/show_documents.js
@@ -192,7 +192,7 @@ couchTests.show_documents = function(debug) {
var resp = JSON.parse(xhr.responseText);
T(equals(resp.headers["X-Foo"], "bar"));
T(equals(resp.query, {foo:"bar"}));
- T(equals(resp.verb, "GET"));
+ T(equals(resp.method, "GET"));
T(equals(resp.path[5], docid));
T(equals(resp.info.db_name, "test_suite_db"));