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-maestrodev-1.19.0.20140110004459 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.19.0.20140107142106 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.19.0.20131219203941 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131219193542 tests/google/requests/compute/operation_tests.rb
fog-1.19.0 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131219033443 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131219032002 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131219030716 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131219022322 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131218202447 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131209091424 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131209090811 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131206115947 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131205181604 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131127194823 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131126183714 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131126122111 tests/google/requests/compute/operation_tests.rb