Sha256: f46fe45087c793bf47f047f42cf0482c8dcb718ad1f49563afd9214fead9d580

Contents?: true

Size: 662 Bytes

Versions: 64

Compression:

Stored size: 662 Bytes

Contents

Shindo.tests('Fog::Compute[:google] | operation requests', ['google']) do
  pending if Fog.mocking?

  @google = Fog::Compute[:google]

  tests('success') do

    # We are not testing the format here because operation formats are pretty
    # extensive based on what has happened to you account, ever.
    # https://developers.google.com/compute/docs/reference/latest/globalOperations#resource
    tests("#list_global_operations").succeeds do
      @google.list_global_operations
    end

    tests("#list_zone_operations").succeeds do
      zone_name = @google.list_zones.body["items"][0]["name"]
      @google.list_zone_operations(zone_name)
    end
  end
end

Version data entries

64 entries across 62 versions & 7 rubygems

Version Path
fog-1.25.0 tests/google/requests/compute/operation_tests.rb
nsidc-fog-1.24.1 tests/google/requests/compute/operation_tests.rb
fog-1.24.0 tests/google/requests/compute/operation_tests.rb
ns-fog-1.22.11 tests/google/requests/compute/operation_tests.rb
ns-fog-1.22.10 tests/google/requests/compute/operation_tests.rb
ns-fog-1.22.9 tests/google/requests/compute/operation_tests.rb
ns-fog-1.22.8 tests/google/requests/compute/operation_tests.rb
ns-fog-1.22.7 tests/google/requests/compute/operation_tests.rb
ns-fog-1.22.6 tests/google/requests/compute/operation_tests.rb
fog-1.23.0 tests/google/requests/compute/operation_tests.rb
ns-fog-1.22.4 tests/google/requests/compute/operation_tests.rb
ns-fog-1.22.3 tests/google/requests/compute/operation_tests.rb
ns-fog-1.22.2 tests/google/requests/compute/operation_tests.rb
fog-1.22.1 tests/google/requests/compute/operation_tests.rb
fog-1.22.0 tests/google/requests/compute/operation_tests.rb
fog-1.21.0 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.20.0.20140305101305 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.19.0.20140212012611 tests/google/requests/compute/operation_tests.rb
fog-1.20.0 tests/google/requests/compute/operation_tests.rb