Sha256: 5915df5e8125e9fbfe35c7dee7e50fe29df855d68f9ae7cee03a5807658a3473

Contents?: true

Size: 636 Bytes

Versions: 25

Compression:

Stored size: 636 Bytes

Contents

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

  @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

25 entries across 25 versions & 3 rubygems

Version Path
fog-maestrodev-1.18.0.20131121075022 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131118164830 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131115184302 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131114200144 tests/google/requests/compute/operation_tests.rb
gapinc-fog-1.12.1.2.1 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131112185232 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.18.0.20131111203459 tests/google/requests/compute/operation_tests.rb
fog-1.18.0 tests/google/requests/compute/operation_tests.rb
fog-1.17.0 tests/google/requests/compute/operation_tests.rb
fog-1.16.0 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.15.0.20130927082724 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.15.0.20130829165835 tests/google/requests/compute/operation_tests.rb
fog-1.15.0 tests/google/requests/compute/operation_tests.rb
gapinc-fog-1.14.0 tests/google/requests/compute/operation_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/google/requests/compute/operation_tests.rb
fog-1.14.0 tests/google/requests/compute/operation_tests.rb
fog-1.13.0 tests/google/requests/compute/operation_tests.rb
gapinc-fog-1.12.1.2 tests/google/requests/compute/operation_tests.rb
gapinc-fog-1.12.1.1 tests/google/requests/compute/operation_tests.rb
gapinc-fog-1.12.1a tests/google/requests/compute/operation_tests.rb