1
0
Fork 0

added test

This commit is contained in:
Jan Steemann 2013-11-04 14:23:30 +01:00
parent 7924f657d4
commit 37b49c2769
1 changed files with 13 additions and 0 deletions

View File

@ -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
################################################################################