Sha256: 95472c8cbb3a2ba843f282cf9df08ffe86c2eb1ad5356af2927d20d76e649ad7

Contents?: true

Size: 424 Bytes

Versions: 125

Compression:

Stored size: 424 Bytes

Contents

Shindo.tests('Fog::Compute[:ibm] | locations', ['ibm']) do

  tests('success') do

    @location_id = '41'

    tests('Fog::Compute[:ibm].locations') do
      returns(true) { Fog::Compute[:ibm].locations.length > 0 }
    end

    tests('Fog::Compute[:ibm].locations.get("#{@location_id}")') do
      @location = Fog::Compute[:ibm].locations.get(@location_id)
      returns(@location_id) { @location.id }
    end

  end

end

Version data entries

125 entries across 123 versions & 18 rubygems

Version Path
fog-2.3.0 tests/ibm/models/compute/locations_tests.rb
fog-ifeel-2.2.0 tests/ibm/models/compute/locations_tests.rb
fog-2.2.0 tests/ibm/models/compute/locations_tests.rb
fog-2.1.0 tests/ibm/models/compute/locations_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/tests/ibm/models/compute/locations_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/tests/ibm/models/compute/locations_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/tests/ibm/models/compute/locations_tests.rb
fog-1.42.1 tests/ibm/models/compute/locations_tests.rb
fog-2.0.0 tests/ibm/models/compute/locations_tests.rb
fog-1.42.0 tests/ibm/models/compute/locations_tests.rb
fog-1.41.0 tests/ibm/models/compute/locations_tests.rb
fog-1.40.0 tests/ibm/models/compute/locations_tests.rb
fog-1.39.0 tests/ibm/models/compute/locations_tests.rb
fog-1.38.0 tests/ibm/models/compute/locations_tests.rb
fog-1.37.0 tests/ibm/models/compute/locations_tests.rb
fog-1.36.0 tests/ibm/models/compute/locations_tests.rb
fog-1.35.0 tests/ibm/models/compute/locations_tests.rb
fog-2.0.0.pre.0 tests/ibm/models/compute/locations_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/ibm/models/compute/locations_tests.rb
fog-1.34.0 tests/ibm/models/compute/locations_tests.rb