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

Version Path
fog-0.0.84 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.83 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.82 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.81 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.80 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.79 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.78 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.77 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.76 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.75 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.74 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.73 tests/rackspace/requests/servers/list_servers_tests.rb
fog-0.0.72 tests/rackspace/requests/servers/list_servers_tests.rb