diff options
author | Garren Smith <garren.smith@gmail.com> | 2019-03-05 11:25:44 +0200 |
---|---|---|
committer | Garren Smith <garren.smith@gmail.com> | 2019-03-05 11:25:44 +0200 |
commit | a4476ba547bc8896e393f64c21adb75e0f4d7dec (patch) | |
tree | 0369cf639109578df4a699481f262e401b94b417 | |
parent | 5b41c9a5b953436fd30cb7555f9b225c05d78814 (diff) | |
download | couchdb-a4476ba547bc8896e393f64c21adb75e0f4d7dec.tar.gz |
add more w:3
-rw-r--r-- | test/elixir/test/attachments.exs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/elixir/test/attachments.exs b/test/elixir/test/attachments.exs index 42c78f70b..4cafef8a2 100644 --- a/test/elixir/test/attachments.exs +++ b/test/elixir/test/attachments.exs @@ -124,7 +124,8 @@ defmodule AttachmentsTest do Couch.put( "/#{db_name}/bin_doc3/attachment.txt", body: bin_data, - headers: ["Content-Type": "text/plain;charset=utf-8"] + headers: ["Content-Type": "text/plain;charset=utf-8"], + query: {w: 3} ) assert resp.status_code in [201, 202] @@ -135,7 +136,7 @@ defmodule AttachmentsTest do resp = Couch.get("/#{db_name}/bin_doc3/attachment.txt") assert resp.body == bin_data - resp = Couch.put("/#{db_name}/bin_doc3/attachment.txt", body: bin_data) + resp = Couch.put("/#{db_name}/bin_doc3/attachment.txt", body: bin_data, query: {w: 3}) assert resp.status_code == 409 # non-existent rev |