1
0
Fork 0

Fixed general graph spec. Error message is more specfic then expected

This commit is contained in:
Michael Hackstein 2014-07-01 17:08:55 +02:00
parent aac1d3ecde
commit d211b6eacd
1 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ describe ArangoDB do
doc = get_vertex(graph_name, user_collection, key)
doc.code.should eq(404)
doc.parsed_response['error'].should eq("document not found")
doc.parsed_response['error'].should include("document not found")
doc.parsed_response['code'].should eq(404)
end
@ -546,7 +546,7 @@ describe ArangoDB do
doc = get_edge(graph_name, friend_collection, key)
doc.code.should eq(404)
doc.parsed_response['error'].should eq("document not found")
doc.parsed_response['error'].should include("document not found")
doc.parsed_response['code'].should eq(404)
end