Sha256: f6efc43b3f0a903928971c63e9aa8fdc967d95cb0db412de03c0710781c9279c

Contents?: true

Size: 538 Bytes

Versions: 126

Compression:

Stored size: 538 Bytes

Contents

Shindo.tests("Fog::Compute[:aws] | address", ['aws']) do

  model_tests(Fog::Compute[:aws].addresses, {}, true) do

    @server = Fog::Compute[:aws].servers.create
    @server.wait_for { ready? }

    tests('#server=').succeeds do
      @instance.server = @server
    end

    tests('#server') do
      test(' == @server') do
        @server.reload
        @instance.server.public_ip_address == @instance.public_ip
      end
    end

    @server.destroy

  end

  model_tests(Fog::Compute[:aws].addresses, { :domain => "vpc" }, true)
end

Version data entries

126 entries across 126 versions & 14 rubygems

Version Path
fog-sgonyea-1.8.1 tests/aws/models/compute/address_tests.rb
fog-1.8.0 tests/aws/models/compute/address_tests.rb
fog-maestrodev-1.7.0.20121114190951 tests/aws/models/compute/address_tests.rb
fog-1.7.0 tests/aws/models/compute/address_tests.rb
fog-1.6.0 tests/aws/models/compute/address_tests.rb
fog-1.5.0 tests/aws/models/compute/address_tests.rb