Sha256: 7cd95be7dbab20ec916e2310e44d0e12eaf7faa1e2de94314d695bae5195fdc0

Contents?: true

Size: 444 Bytes

Versions: 14

Compression:

Stored size: 444 Bytes

Contents

Shindo.tests("Fog::Google[:sql] | tier requests", ["google"]) do
  @sql = Fog::Google[:sql]

  @get_tier_format = {
    "tier" => String,
    "DiskQuota" => String,
    "kind" => String,
    "RAM" => String,
    "region" => Array
  }

  @list_tiers_format = {
    "kind" => String,
    "items" => [@get_tier_format]
  }

  tests("success") do
    tests('#list_tiers').formats(@list_tiers_format) do
      @sql.list_tiers.body
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-0.6.0 tests/requests/sql/tier_tests.rb
fog-google-0.5.5 tests/requests/sql/tier_tests.rb
fog-google-0.5.4 tests/requests/sql/tier_tests.rb
fog-google-0.5.3 tests/requests/sql/tier_tests.rb
fog-google-0.5.2 tests/requests/sql/tier_tests.rb
fog-google-0.5.1 tests/requests/sql/tier_tests.rb
fog-google-0.5.0 tests/requests/sql/tier_tests.rb
fog-google-0.4.2 tests/requests/sql/tier_tests.rb
fog-google-0.4.1 tests/requests/sql/tier_tests.rb
fog-google-0.4.0 tests/requests/sql/tier_tests.rb
fog-google-0.3.2 tests/requests/sql/tier_tests.rb
fog-google-0.3.1 tests/requests/sql/tier_tests.rb
fog-google-0.3.0 tests/requests/sql/tier_tests.rb
fog-google-0.2.0 tests/requests/sql/tier_tests.rb