1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/rackspace/databases_tests.rb

27 lines
574 B
Ruby
Raw Normal View History

Shindo.tests('Fog::Rackspace::Databases', ['rackspace']) do |variable|
pending if Fog.mocking?
@service = Fog::Rackspace::Databases.new
tests('#flavors').succeeds do
data = @service.flavors
returns(true) { data.is_a? Array }
end
tests('#instances').succeeds do
data = @service.instances
returns(true) { data.is_a? Array }
end
tests('#databases').succeeds do
data = @service.databases
returns(true) { data.is_a? Array }
end
tests('#users').succeeds do
data = @service.users
returns(true) { data.is_a? Array }
end
end