Sha256: 32e089fdfc88f750527d2183ca3246b5581be05da877f8d80348faea9959e3b7

Contents?: true

Size: 554 Bytes

Versions: 14

Compression:

Stored size: 554 Bytes

Contents

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

  @get_flag_format = {
    "name" => String,
    "allowedStringValues" => Fog::Nullable::Array,
    "appliesTo" => Array,
    "kind" => String,
    "maxValue" => Fog::Nullable::String,
    "minValue" => Fog::Nullable::String,
    "type" => String
  }

  @list_flags_format = {
    "kind" => String,
    "items" => [@get_flag_format]
  }

  tests("success") do
    tests('#list_flags').formats(@list_flags_format) do
      @sql.list_flags.body
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

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