Sha256: 89b82099560ec34ff6a9af6a6bfbbb643019df5f79542d44724af75b3c3c6d06

Contents?: true

Size: 607 Bytes

Versions: 92

Compression:

Stored size: 607 Bytes

Contents

provider, config = :ecloud, compute_providers[:ecloud]

Shindo.tests("Fog::Compute[:#{provider}] | ip_addresses", [provider.to_s]) do
  connection = Fog::Compute[provider]
  @organization = connection.organizations.first
  @environment = @organization.environments.first
  @network = @environment.networks.first
  @ip_addresses = @network.ips

  tests('#all').succeeds do
    returns(false) { @ip_addresses.all.empty? }
  end

  tests('#get').succeeds do
    address = @ip_addresses.first
    fetched_network = connection.ip_addresses.get(address.href)
    returns(false) { fetched_network.nil? }
  end
end

Version data entries

92 entries across 90 versions & 11 rubygems

Version Path
ns-fog-1.22.7 tests/ecloud/compute/models/ip_address_tests.rb
ns-fog-1.22.6 tests/ecloud/compute/models/ip_address_tests.rb
fog-1.23.0 tests/ecloud/compute/models/ip_address_tests.rb
ns-fog-1.22.4 tests/ecloud/compute/models/ip_address_tests.rb
ns-fog-1.22.3 tests/ecloud/compute/models/ip_address_tests.rb
ns-fog-1.22.2 tests/ecloud/compute/models/ip_address_tests.rb
fog-1.22.1 tests/ecloud/compute/models/ip_address_tests.rb
fog-1.22.0 tests/ecloud/compute/models/ip_address_tests.rb
fog-1.21.0 tests/ecloud/compute/models/ip_address_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/ecloud/compute/models/ip_address_tests.rb
fog-maestrodev-1.20.0.20140305101305 tests/ecloud/compute/models/ip_address_tests.rb
fog-maestrodev-1.19.0.20140212012611 tests/ecloud/compute/models/ip_address_tests.rb
fog-1.20.0 tests/ecloud/compute/models/ip_address_tests.rb
fog-maestrodev-1.19.0.20140110004459 tests/ecloud/compute/models/ip_address_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/ecloud/compute/models/ip_address_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/ecloud/compute/models/ip_address_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/ecloud/compute/models/ip_address_tests.rb
fog-maestrodev-1.19.0.20140107142106 tests/ecloud/compute/models/ip_address_tests.rb
fog-maestrodev-1.19.0.20131219203941 tests/ecloud/compute/models/ip_address_tests.rb
fog-maestrodev-1.18.0.20131219193542 tests/ecloud/compute/models/ip_address_tests.rb