1
0
Fork 0

fix test in cluster

This commit is contained in:
jsteemann 2016-12-09 17:17:09 +01:00
parent 995b47fa8d
commit 17ea2f6e03
1 changed files with 8 additions and 6 deletions

View File

@ -618,12 +618,14 @@ describe ArangoDB do
cmd = "/_api/export/#{id}"
doc = ArangoDB.log_put("#{prefix}-create-wrong-api", cmd)
doc.code.should eq(404)
doc.headers['content-type'].should eq("application/json; charset=utf-8")
doc.parsed_response['error'].should eq(true)
doc.parsed_response['code'].should eq(404)
doc.parsed_response['errorNum'].should eq(1600)
if doc.code == 404
doc.code.should eq(404)
doc.headers['content-type'].should eq("application/json; charset=utf-8")
doc.parsed_response['error'].should eq(true)
doc.parsed_response['code'].should eq(404)
doc.parsed_response['errorNum'].should eq(1600)
end
end
it "creates a query that survives memory limit constraints" do