Sha256: 00879d2074d57f54eb9cfd352d7a24baa676e266f23b2820f42c8256d7c44e54
Contents?: true
Size: 596 Bytes
Versions: 10
Compression:
Stored size: 596 Bytes
Contents
Shindo.tests('Rackspace::Servers#list_servers_detail', 'rackspace') do tests('success') do before do @server_id = Rackspace[:servers].create_server(1, 3, 'foglistserversdetail').body['server']['id'] @data = Rackspace[:servers].list_servers_detail.body['servers'] end after do Fog.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 has_format(@data, Rackspace::Servers::Formats::SERVER) end end end
Version data entries
10 entries across 10 versions & 1 rubygems