1
0
Fork 0

Adjust string match to new error produced by the new V8 version.

This commit is contained in:
Wilfried Goesgens 2016-05-02 09:39:06 +02:00
parent 141c19e7b3
commit 959c1b7bbb
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ describe ArangoDB do
doc.parsed_response['error'].should eq(true)
doc.parsed_response['code'].should eq(400)
doc.parsed_response['errorNum'].should eq(600)
doc.parsed_response['errorMessage'].should eq("SyntaxError: Unexpected token n")
doc.parsed_response['errorMessage'].should eq("SyntaxError: Unexpected token n in JSON at position 2")
end
it "creating a collection with a null body" do