Sha256: e3006dfd5f0c266085270064746d78401352c8994efc4e794060ae3d58c08655
Contents?: true
Size: 578 Bytes
Versions: 13
Compression:
Stored size: 578 Bytes
Contents
Shindo.tests('Rackspace::Servers#list_servers', 'rackspace') do tests('success') do before do @server_id = Rackspace[:servers].create_server(1, 3, 'foglistservers').body['server']['id'] @data = Rackspace[:servers].list_servers.body['servers'] end after do wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' } Rackspace[:servers].delete_server(@server_id) end test('has proper output format') do validate_format(@data, Rackspace::Servers::Formats::SUMMARY) end end end
Version data entries
13 entries across 13 versions & 1 rubygems