mirror of https://gitee.com/bigwinds/arangodb
Fixed general graph spec. Error message is more specfic then expected
This commit is contained in:
parent
aac1d3ecde
commit
d211b6eacd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue