blob: 4ccd63fe06a49afe44132906de6e43952d3b3a80 [file] [log] [blame]
defmodule PartitionDesignDocsTest do
use CouchTestCase
@moduledoc """
Test Partition functionality for partition design docs
"""
@tag :with_partitioned_db
test "/_partition/:pk/_design/doc 404", context do
db_name = context[:db_name]
url = "/#{db_name}/_partition/fakekey/_design/mrtest/_view/some"
resp = Couch.get(url)
assert resp.status_code == 404
end
end