mirror of https://gitee.com/bigwinds/arangodb
added test
This commit is contained in:
parent
7924f657d4
commit
37b49c2769
|
@ -22,6 +22,19 @@ describe ArangoDB do
|
|||
result.should include("_system")
|
||||
end
|
||||
|
||||
################################################################################
|
||||
## retrieving the list of databases for the current user
|
||||
################################################################################
|
||||
|
||||
it "retrieves the list of user-specific databases" do
|
||||
doc = ArangoDB.log_get("#{prefix}-list-user", api + "/user")
|
||||
|
||||
doc.code.should eq(200)
|
||||
result = doc.parsed_response["result"]
|
||||
|
||||
result.should include("_system")
|
||||
end
|
||||
|
||||
################################################################################
|
||||
## checking information about current database
|
||||
################################################################################
|
||||
|
|
Loading…
Reference in New Issue