Sha256: d213759d67294aa00950a7f180b30011ed8099515fd1e90dd3de22c23e3b377e

Contents?: true

Size: 384 Bytes

Versions: 8

Compression:

Stored size: 384 Bytes

Contents

Shindo.tests('Linode::Compute | datacenter requests', ['linode']) do

  @datacenters_format = Linode::Compute::Formats::BASIC.merge({
    'DATA' => [{ 
      'DATACENTERID'  => Integer,
      'LOCATION'      => String
    }]
  })

  tests('success') do

    tests('#avail_datacenters').formats(@datacenters_format) do
      Linode[:compute].avail_datacenters.body
    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fog-0.3.7 tests/linode/requests/compute/datacenter_tests.rb
fog-0.3.6 tests/linode/requests/compute/datacenter_tests.rb
fog-0.3.5 tests/linode/requests/compute/datacenter_tests.rb
fog-0.3.4 tests/linode/requests/compute/datacenter_tests.rb
fog-0.3.3 tests/linode/requests/compute/datacenter_tests.rb
fog-0.3.2 tests/linode/requests/compute/datacenter_tests.rb
fog-0.3.1 tests/linode/requests/compute/datacenter_tests.rb
fog-0.3.0 tests/linode/requests/compute/datacenter_tests.rb