summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Branca <chewbranca@apache.org>2017-12-04 23:25:52 +0000
committerRussell Branca <chewbranca@apache.org>2017-12-04 23:25:52 +0000
commit418470ec0a69c4b9c260d60f0a9b720214c6c58f (patch)
tree3baa808a5f3f5dd50480618600f5cfa8a61aa9be
parent736a779cebd91b8c2836f187990a9e1752f0973f (diff)
downloadcouchdb-418470ec0a69c4b9c260d60f0a9b720214c6c58f.tar.gz
Misc updates
-rw-r--r--elixir_suite/test/basics_test.exs5
-rw-r--r--elixir_suite/test/test_helper.exs1
2 files changed, 5 insertions, 1 deletions
diff --git a/elixir_suite/test/basics_test.exs b/elixir_suite/test/basics_test.exs
index 1a1adade8..40ad4bda1 100644
--- a/elixir_suite/test/basics_test.exs
+++ b/elixir_suite/test/basics_test.exs
@@ -92,11 +92,12 @@ defmodule BasicsTest do
test "Can create several documents", context do
db_name = context[:db_name]
assert Couch.post("/#{db_name}", [body: %{:_id => "1", :a => 2, :b => 4}]).body["ok"]
- assert Couch.post("/#{db_name}", [body: %{:_id => "2", :a => 3, :b => 9}])
+ assert Couch.post("/#{db_name}", [body: %{:_id => "2", :a => 3, :b => 9}]).body["ok"]
assert Couch.post("/#{db_name}", [body: %{:_id => "3", :a => 4, :b => 16}]).body["ok"]
assert Couch.get("/#{db_name}").body["doc_count"] == 3
end
+ @tag :pending
@tag :with_db
test "Regression test for COUCHDB-954", context do
db_name = context[:db_name]
@@ -189,6 +190,7 @@ defmodule BasicsTest do
assert Couch.get("/#{db_name}/oppossum").body["yar"] == "matey"
end
+ @tag :pending
@tag :with_db
test "PUT doc has a Location header", context do
db_name = context[:db_name]
@@ -266,6 +268,7 @@ defmodule BasicsTest do
assert resp.body["reason"] == "You tried to DELETE a database with a ?=rev parameter. Did you mean to DELETE a document instead?"
end
+ @tag :pending
@tag :with_db
test "On restart, a request for creating an already existing db can not override", context do
# TODO
diff --git a/elixir_suite/test/test_helper.exs b/elixir_suite/test/test_helper.exs
index 181642be7..b8adb5217 100644
--- a/elixir_suite/test/test_helper.exs
+++ b/elixir_suite/test/test_helper.exs
@@ -1,3 +1,4 @@
+ExUnit.configure(exclude: [pending: true])
ExUnit.start()
# TODO