Sha256: ce4502f4c275df97433cebe54b2e497934e668aed227e4a0bf002c4263ff02ee

Contents?: true

Size: 979 Bytes

Versions: 1

Compression:

Stored size: 979 Bytes

Contents

for provider, config in compute_providers

  Shindo.tests("#{provider}::Compute | server", [provider.to_s.downcase]) do

    server_tests(provider[:compute], (config[:server_attributes] || {}), config[:mocked]) do

      tests('responds_to(:bootstrap)') do
        pending if Fog.mocking? && !config[:mocked]
        @instance.responds_to(:bootstrap)
      end

      tests('responds_to(:private_ip_address)') do
        pending if Fog.mocking? && !config[:mocked]
        @instance.responds_to(:public_ip_address)
      end

      tests('responds_to(:public_ip_address)') do
        pending if Fog.mocking? && !config[:mocked]
        @instance.responds_to(:public_ip_address)
      end

      tests('responds_to(:scp)') do
        pending if Fog.mocking? && !config[:mocked]
        @instance.responds_to(:ssh)
      end

      tests('responds_to(:ssh)') do
        pending if Fog.mocking? && !config[:mocked]
        @instance.responds_to(:ssh)
      end

    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-0.6.0 tests/compute/models/server_tests.rb