Sha256: c9b0ffa7a5f0ac90966cca1f755defd1384bf4568b86e54cc52989eafc09b808

Contents?: true

Size: 641 Bytes

Versions: 8

Compression:

Stored size: 641 Bytes

Contents

Shindo.tests('TerremarkEcloud::Compute | network requests', ['terremarkecloud']) do

  @network_format = {
    'Configuration' => {
      'Gateway' => String,
      'Netmask' => String
    },
    'Features' => {
      'FenceMode' => String
    },
    'href' => String,
    'Link' => {
      'href' => String,
      'name' => String,
      'rel'  => String,
      'type' => String
    },
    'name' => String
  }

  tests('success') do

    tests("#get_network").formats(@network_format) do
      pending if Fog.mocking?
      TerremarkEcloud[:compute].get_network(TerremarkEcloud::Compute.preferred_network['href']).body
    end

  end

end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
fog-0.5.3 tests/compute/requests/terremark_ecloud/network_tests.rb
fog-0.5.2 tests/compute/requests/terremark_ecloud/network_tests.rb
fog-0.5.1 tests/compute/requests/terremark_ecloud/network_tests.rb
fog-0.5.0 tests/compute/requests/terremark_ecloud/network_tests.rb
phpfog-fog-0.4.1.3 tests/compute/requests/terremark_ecloud/network_tests.rb
phpfog-fog-0.4.1.2 tests/compute/requests/terremark_ecloud/network_tests.rb
phpfog-fog-0.4.1.1 tests/compute/requests/terremark_ecloud/network_tests.rb
phpfog-fog-0.4.1 tests/compute/requests/terremark_ecloud/network_tests.rb