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
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-google-0.1.0/tests/requests/compute/operation_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-google-0.1.0/tests/requests/compute/operation_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-google-0.1.0/tests/requests/compute/operation_tests.rb
fog-google-0.1.3 tests/requests/compute/operation_tests.rb
fog-google-0.1.2 tests/requests/compute/operation_tests.rb
fog-google-0.1.1 tests/requests/compute/operation_tests.rb
fog-google-0.1.0 tests/requests/compute/operation_tests.rb
fog-google-0.0.9 tests/requests/compute/operation_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-google-0.0.7/tests/requests/compute/operation_tests.rb
fog-google-0.0.7 tests/requests/compute/operation_tests.rb
fog-google-0.0.6 tests/requests/compute/operation_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/google/requests/compute/operation_tests.rb
fog-google-0.0.5 tests/requests/compute/operation_tests.rb
fog-google-0.0.4 tests/requests/compute/operation_tests.rb
fog-google-0.0.3 tests/requests/compute/operation_tests.rb
fog-google-0.0.2 tests/requests/compute/operation_tests.rb
fog-1.29.0 tests/google/requests/compute/operation_tests.rb
fog-1.28.0 tests/google/requests/compute/operation_tests.rb
fog-1.27.0 tests/google/requests/compute/operation_tests.rb
fog-1.26.0 tests/google/requests/compute/operation_tests.rb