summaryrefslogtreecommitdiff
path: root/test/view_server
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-12-23 00:55:35 +0000
committerJan Lehnardt <jan@apache.org>2009-12-23 00:55:35 +0000
commit6bd4afc34d12f96b3872e6b0bc028ad7f01b579c (patch)
treebb7fef7b034373dbe570755b2f5921861e7fdd83 /test/view_server
parentfe98014a2345b504ea4bd876fd102c6738ed6bb5 (diff)
Follow RFC 2616 closer and use "verb" instead of "method"
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@893364 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/view_server')
-rw-r--r--test/view_server/query_server_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/view_server/query_server_spec.rb b/test/view_server/query_server_spec.rb
index 3d933fdc..1de8e5bc 100644
--- a/test/view_server/query_server_spec.rb
+++ b/test/view_server/query_server_spec.rb
@@ -642,7 +642,7 @@ describe "query server normal case" do
it "should return a doc and a resp body" do
up, doc, resp = @qs.ddoc_run(@ddoc,
["updates","basic"],
- [{"foo" => "gnarly"}, {"verb" => "POST"}]
+ [{"foo" => "gnarly"}, {"method" => "POST"}]
)
up.should == "up"
doc.should == {"foo" => "gnarly", "world" => "hello"}