diff options
Diffstat (limited to 'test/elixir/test/all_docs_test.exs')
-rw-r--r-- | test/elixir/test/all_docs_test.exs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/elixir/test/all_docs_test.exs b/test/elixir/test/all_docs_test.exs index 9501b3bec..16641aa95 100644 --- a/test/elixir/test/all_docs_test.exs +++ b/test/elixir/test/all_docs_test.exs @@ -319,7 +319,8 @@ defmodule AllDocsTest do resp = Couch.get("/#{db_name}/_all_docs", query: %{:startkey => "[1,2]"}).body rows = resp["rows"] - assert length(rows) === 0 + assert length(rows) === 3 + assert get_ids(resp) == ["a", "m", "z"] resp = Couch.get("/#{db_name}/_all_docs", query: %{:end_key => 0}).body rows = resp["rows"] |