Sha256: a9134ac0516bc4d8ec85a0191b354c1e5deb8715e0e3f14e6251c943e95bee06

Contents?: true

Size: 852 Bytes

Versions: 25

Compression:

Stored size: 852 Bytes

Contents

Shindo.tests('Fog::Compute[:cloudstack] | network offering requests', ['cloudstack']) do

  @network_offerings_format = {
    'listnetworkofferingsresponse'  => {
      'count' => Integer,
      'networkoffering' => [
        'id' => String,
        'name' => String,
        'displaytext' => String,
        'traffictype' => String,
        'isdefault' => Fog::Boolean,
        'specifyvlan' => Fog::Boolean,
        'conservemode' => Fog::Boolean,
        'specifyipranges' => Fog::Boolean,
        'availability' => String,
        'networkrate' => Integer,
        'state' => String,
        'guestiptype' => String,
        'serviceofferingid' => String,
      ]
    }
  }

  tests('success') do

    tests('#list_network_offerings').formats(@network_offerings_format) do
      Fog::Compute[:cloudstack].list_network_offerings
    end

  end

end

Version data entries

25 entries across 23 versions & 4 rubygems

Version Path
fog-cloudstack-0.1.0 tests/requests/network_offering_tests.rb
fog-2.1.0 tests/cloudstack/requests/network_offering_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/tests/cloudstack/requests/network_offering_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/tests/cloudstack/requests/network_offering_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/tests/cloudstack/requests/network_offering_tests.rb
fog-1.42.1 tests/cloudstack/requests/network_offering_tests.rb
fog-2.0.0 tests/cloudstack/requests/network_offering_tests.rb
fog-1.42.0 tests/cloudstack/requests/network_offering_tests.rb
fog-1.41.0 tests/cloudstack/requests/network_offering_tests.rb
fog-1.40.0 tests/cloudstack/requests/network_offering_tests.rb
fog-1.39.0 tests/cloudstack/requests/network_offering_tests.rb
fog-1.38.0 tests/cloudstack/requests/network_offering_tests.rb
fog-1.37.0 tests/cloudstack/requests/network_offering_tests.rb
fog-1.36.0 tests/cloudstack/requests/network_offering_tests.rb
fog-1.35.0 tests/cloudstack/requests/network_offering_tests.rb
fog-2.0.0.pre.0 tests/cloudstack/requests/network_offering_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/cloudstack/requests/network_offering_tests.rb
fog-1.34.0 tests/cloudstack/requests/network_offering_tests.rb
fog-1.33.0 tests/cloudstack/requests/network_offering_tests.rb
fog-1.32.0 tests/cloudstack/requests/network_offering_tests.rb