1
0
Fork 0

Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel

This commit is contained in:
Max Neunhoeffer 2014-07-09 10:18:11 +02:00
commit 5c333cc94a
2 changed files with 400 additions and 264 deletions

View File

@ -529,7 +529,7 @@ describe ArangoDB do
doc = get_edge(graph_name, friend_collection, key)
doc.code.should eq(404)
doc.parsed_response['error'].should eq(true)
doc.parsed_response['errorMessage'].should eq("document not found")
doc.parsed_response['errorMessage'].should include("document not found")
doc.parsed_response['code'].should eq(404)
end
@ -566,7 +566,7 @@ describe ArangoDB do
doc = replace_edge(graph_name, friend_collection, key, {"type2" => "divorced"})
doc.code.should eq(404)
doc.parsed_response['error'].should eq(true)
doc.parsed_response['errorMessage'].should eq("document not found")
doc.parsed_response['errorMessage'].should include("document not found")
doc.parsed_response['code'].should eq(404)
end
@ -600,7 +600,7 @@ describe ArangoDB do
doc = update_edge(graph_name, friend_collection, key, {"type2" => "divorced"}, "")
doc.code.should eq(404)
doc.parsed_response['error'].should eq(true)
doc.parsed_response['errorMessage'].should eq("document not found")
doc.parsed_response['errorMessage'].should include("document not found")
doc.parsed_response['code'].should eq(404)
end
@ -631,7 +631,7 @@ describe ArangoDB do
doc = delete_edge(graph_name, friend_collection, key)
doc.code.should eq(404)
doc.parsed_response['error'].should eq(true)
doc.parsed_response['errorMessage'].should eq("document not found")
doc.parsed_response['errorMessage'].should include("document not found")
doc.parsed_response['code'].should eq(404)
end

File diff suppressed because it is too large Load Diff