Sha256: 567a72ef3da99dc92863c325b9ac4eb58e9b61bde48323d15b265967bb5551e3

Contents?: true

Size: 674 Bytes

Versions: 53

Compression:

Stored size: 674 Bytes

Contents

Shindo.tests('Fog::Compute[:digitalocean] | list_servers request', ['digitalocean', 'compute']) do
  
  @server_format = {
    'id'             => Integer,
    'name'           => String,
    'image_id'       => Integer,
    'size_id'        => Integer,
    'region_id'      => Integer,
    'backups_active' => Fog::Nullable::Boolean,
    'ip_address'     => Fog::Nullable::String,
    'status'         => String
  }

  tests('success') do

    tests('#list_servers') do
      Fog::Compute[:digitalocean].list_servers.body['droplets'].each do |server|
        tests('format').data_matches_schema(@server_format) do
          server
        end
      end
    end

  end

end

Version data entries

53 entries across 53 versions & 4 rubygems

Version Path
fog-maestrodev-1.18.0.20131126122111 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.18.0.20131125111730 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.18.0.20131125083406 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.18.0.20131123105121 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.18.0.20131122203507 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.18.0.20131121075022 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.18.0.20131118164830 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.18.0.20131115184302 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.18.0.20131114200144 tests/digitalocean/requests/compute/list_servers_tests.rb
gapinc-fog-1.12.1.2.1 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.18.0.20131112185232 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.18.0.20131111203459 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-1.18.0 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-1.17.0 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-1.16.0 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.15.0.20130927082724 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.15.0.20130829165835 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-1.15.0 tests/digitalocean/requests/compute/list_servers_tests.rb
gapinc-fog-1.14.0 tests/digitalocean/requests/compute/list_servers_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/digitalocean/requests/compute/list_servers_tests.rb