Sha256: 492ec70abb4e590ca17035d4c43e924b35a6b798d3d382f976eb758d19e4d45a

Contents?: true

Size: 578 Bytes

Versions: 29

Compression:

Stored size: 578 Bytes

Contents

Shindo.tests('Fog::Compute[:brightbox] | database type requests', ['brightbox']) do

  tests('success') do
    tests("#list_database_types") do
      pending if Fog.mocking?
      result = Fog::Compute[:brightbox].list_database_types
      data_matches_schema(Brightbox::Compute::Formats::Collection::DATABASE_SERVER_TYPES, {:allow_extra_keys => true}) { result }
    end
  end

  tests('failure') do
    tests("#get_database_type").raises(Excon::Errors::NotFound) do
      pending if Fog.mocking?
      Fog::Compute[:brightbox].get_database_type("dbt-00000")
    end
  end
end

Version data entries

29 entries across 29 versions & 5 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/brightbox/requests/compute/database_type_tests.rb
fog-1.33.0 tests/brightbox/requests/compute/database_type_tests.rb
fog-1.32.0 tests/brightbox/requests/compute/database_type_tests.rb
fog-1.31.0 tests/brightbox/requests/compute/database_type_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/brightbox/requests/compute/database_type_tests.rb
fog-1.30.0 tests/brightbox/requests/compute/database_type_tests.rb
fog-1.29.0 tests/brightbox/requests/compute/database_type_tests.rb
fog-1.28.0 tests/brightbox/requests/compute/database_type_tests.rb
fog-1.27.0 tests/brightbox/requests/compute/database_type_tests.rb
fog-1.26.0 tests/brightbox/requests/compute/database_type_tests.rb
fog-1.25.0 tests/brightbox/requests/compute/database_type_tests.rb
nsidc-fog-1.24.1 tests/brightbox/requests/compute/database_type_tests.rb
fog-1.24.0 tests/brightbox/requests/compute/database_type_tests.rb
ns-fog-1.22.11 tests/brightbox/requests/compute/database_type_tests.rb
ns-fog-1.22.10 tests/brightbox/requests/compute/database_type_tests.rb
ns-fog-1.22.9 tests/brightbox/requests/compute/database_type_tests.rb
ns-fog-1.22.8 tests/brightbox/requests/compute/database_type_tests.rb
ns-fog-1.22.7 tests/brightbox/requests/compute/database_type_tests.rb
ns-fog-1.22.6 tests/brightbox/requests/compute/database_type_tests.rb
fog-1.23.0 tests/brightbox/requests/compute/database_type_tests.rb