1
0
Fork 0

fixed a failing test

This commit is contained in:
Jan Steemann 2014-02-27 11:58:16 +01:00
parent 8c04d6b12e
commit cefef13c42
1 changed files with 2 additions and 2 deletions

View File

@ -709,7 +709,7 @@ describe ArangoDB do
body = "{\"waitForSync\" : false}"
doc = ArangoDB.put(cmd, :body => body)
body = "{\"_key\":\"egal\", \"optional2\" : null}"
body = "{\"optional2\" : null}"
doc2 = patch_vertex(prefix, graph_name, _key, body, '')
doc2.code.should eq(202)
doc2.parsed_response['error'].should eq(false)
@ -727,7 +727,7 @@ describe ArangoDB do
doc4.parsed_response['vertex']['optional2'].should be_nil
doc2.parsed_response['vertex']['_key'].should eq(_key)
body = "{\"_key\":\"egal\", \"optional2\" : null}"
body = "{ \"optional2\" : null}"
doc5 = patch_vertex(prefix, graph_name, _key, body, 'false')
doc5.code.should eq(202)
doc5.parsed_response['error'].should eq(false)