1
0
Fork 0

fixed tests

This commit is contained in:
Frank Celler 2016-06-12 22:50:26 +02:00
parent 54d39573d3
commit ef35aca8e8
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ describe ArangoDB do
doc.code.should eq(400)
doc.parsed_response['error'].should eq(true)
doc.parsed_response['errorNum'].should eq(1203)
doc.parsed_response['errorNum'].should eq(400)
doc.parsed_response['code'].should eq(400)
doc.headers['content-type'].should eq("application/json; charset=utf-8")
end

View File

@ -43,10 +43,10 @@ describe ArangoDB do
cmd = "/_api/document//123456"
doc = ArangoDB.log_get("#{prefix}-bad-handle2", cmd)
doc.code.should eq(400)
doc.code.should eq(404)
doc.parsed_response['error'].should eq(true)
doc.parsed_response['errorNum'].should eq(1203)
doc.parsed_response['code'].should eq(400)
doc.parsed_response['code'].should eq(404)
doc.headers['content-type'].should eq("application/json; charset=utf-8")
end