Sha256: af39023a3d9cee3b4194364125c51031ee1feea64a8e7102cbd7bcc88e6dffa9

Contents?: true

Size: 422 Bytes

Versions: 101

Compression:

Stored size: 422 Bytes

Contents

Shindo.tests('Fog::Rackspace::BlockStorage | volume_types', ['rackspace']) do

  service = Fog::Rackspace::BlockStorage.new

  tests("success") do
    tests("#all").succeeds do
      service.volume_types.all
    end

    tests("#get").succeeds do
      service.volume_types.get(service.volume_types.first.id)
    end
  end

  tests("failure").returns(nil) do
    service.volume_types.get('some_random_identity')
  end
end

Version data entries

101 entries across 99 versions & 11 rubygems

Version Path
fog-maestrodev-1.15.0.20130829165835 tests/rackspace/models/block_storage/volume_types_tests.rb
fog-1.15.0 tests/rackspace/models/block_storage/volume_types_tests.rb
gapinc-fog-1.14.0 tests/rackspace/models/block_storage/volume_types_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/rackspace/models/block_storage/volume_types_tests.rb
fog-1.14.0 tests/rackspace/models/block_storage/volume_types_tests.rb
fog-1.13.0 tests/rackspace/models/block_storage/volume_types_tests.rb
gapinc-fog-1.12.1.2 tests/rackspace/models/block_storage/volume_types_tests.rb
gapinc-fog-1.12.1.1 tests/rackspace/models/block_storage/volume_types_tests.rb
gapinc-fog-1.12.1a tests/rackspace/models/block_storage/volume_types_tests.rb
gapinc-fog-1.12.1 tests/rackspace/models/block_storage/volume_types_tests.rb
fog-1.12.1 tests/rackspace/models/block_storage/volume_types_tests.rb
fog-1.12.0 tests/rackspace/models/block_storage/volume_types_tests.rb
hpfog-0.0.20 tests/rackspace/models/block_storage/volume_types_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/rackspace/models/block_storage/volume_types_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/rackspace/models/block_storage/volume_types_tests.rb
fog-1.11.1 tests/rackspace/models/block_storage/volume_types_tests.rb
fog-1.11.0 tests/rackspace/models/block_storage/volume_types_tests.rb
fog-1.10.1 tests/rackspace/models/block_storage/volume_types_tests.rb
fog-test-me-1.10.0 tests/rackspace/models/block_storage/volume_types_tests.rb
fog-1.10.0 tests/rackspace/models/block_storage/volume_types_tests.rb