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

Version Path
fog-0.1.0 tests/rackspace/requests/servers/list_servers_detail_tests.rb
fog-0.0.100 tests/rackspace/requests/servers/list_servers_detail_tests.rb
fog-0.0.99 tests/rackspace/requests/servers/list_servers_detail_tests.rb
fog-0.0.98 tests/rackspace/requests/servers/list_servers_detail_tests.rb
fog-0.0.97 tests/rackspace/requests/servers/list_servers_detail_tests.rb
fog-0.0.96 tests/rackspace/requests/servers/list_servers_detail_tests.rb
fog-0.0.95 tests/rackspace/requests/servers/list_servers_detail_tests.rb
fog-0.0.94 tests/rackspace/requests/servers/list_servers_detail_tests.rb
fog-0.0.93 tests/rackspace/requests/servers/list_servers_detail_tests.rb
fog-0.0.92 tests/rackspace/requests/servers/list_servers_detail_tests.rb