Sha256: 3e09cb349841229884f92dc73b1728c8447b6f1f18d090f7787c93eedd0168d7

Contents?: true

Size: 1.72 KB

Versions: 140

Compression:

Stored size: 1.72 KB

Contents

Shindo.tests('Fog::Compute[:ninefold] | list only requests', ['ninefold']) do

  tests('success') do

    tests("#list_accounts()").formats(Ninefold::Compute::Formats::Lists::ACCOUNTS) do
      pending if Fog.mocking?
      Fog::Compute[:ninefold].list_accounts
    end

    tests("#list_events()").formats(Ninefold::Compute::Formats::Lists::EVENTS) do
      pending if Fog.mocking?
      Fog::Compute[:ninefold].list_events
    end

    tests("#list_service_offerings()").formats(Ninefold::Compute::Formats::Lists::SERVICE_OFFERINGS) do
      pending if Fog.mocking?
      Fog::Compute[:ninefold].list_service_offerings
    end

    tests("#list_disk_offerings()").formats(Ninefold::Compute::Formats::Lists::DISK_OFFERINGS) do
      pending if Fog.mocking?
      Fog::Compute[:ninefold].list_disk_offerings
    end

    tests("#list_capabilities()").formats(Ninefold::Compute::Formats::Lists::CAPABILITIES) do
      pending if Fog.mocking?
      Fog::Compute[:ninefold].list_capabilities
    end

    tests("#list_hypervisors()").formats(Ninefold::Compute::Formats::Lists::HYPERVISORS) do
      pending if Fog.mocking?
      Fog::Compute[:ninefold].list_hypervisors
    end

    tests("#list_zones()").formats(Ninefold::Compute::Formats::Lists::ZONES) do
      pending if Fog.mocking?
      Fog::Compute[:ninefold].list_zones
    end

    tests("#list_network_offerings()").formats(Ninefold::Compute::Formats::Lists::NETWORK_OFFERINGS) do
      pending if Fog.mocking?
      Fog::Compute[:ninefold].list_network_offerings
    end

    tests("#list_resource_limits()").formats(Ninefold::Compute::Formats::Lists::RESOURCE_LIMITS) do
      pending if Fog.mocking?
      Fog::Compute[:ninefold].list_resource_limits
    end

  end

  tests('failure') do

  end

end

Version data entries

140 entries across 140 versions & 21 rubygems

Version Path
fog-1.38.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.37.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.36.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.35.0 tests/ninefold/requests/compute/list_tests.rb
fog-2.0.0.pre.0 tests/ninefold/requests/compute/list_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/ninefold/requests/compute/list_tests.rb
fog-1.34.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.33.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.32.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.31.0 tests/ninefold/requests/compute/list_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/ninefold/requests/compute/list_tests.rb
fog-1.30.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.29.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.28.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.27.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.26.0 tests/ninefold/requests/compute/list_tests.rb
fog-1.25.0 tests/ninefold/requests/compute/list_tests.rb
nsidc-fog-1.24.1 tests/ninefold/requests/compute/list_tests.rb
fog-1.24.0 tests/ninefold/requests/compute/list_tests.rb
ns-fog-1.22.11 tests/ninefold/requests/compute/list_tests.rb