Sha256: d905f1383be636e936f9e50855c590e83a3f0288791d80a43ecbb94455e5e499
Contents?: true
Size: 757 Bytes
Versions: 12
Compression:
Stored size: 757 Bytes
Contents
require "helpers/integration_test_helper" class TestFlags < FogIntegrationTest def setup @client = Fog::Google::SQL.new end def test_list resp = @client.list_flags assert_operator(resp.items.size, :>, 0, "resource descriptor count should be positive") _sanity_check_flag(resp.items.first) end def test_all resp = @client.flags.all assert_operator(resp.size, :>, 0, "resource descriptor count should be positive") _sanity_check_flag(resp.first) end def _sanity_check_flag(flag) assert_equal(flag.kind, "sql#flag") refute(flag.name.nil?, "flag name should not be empty") refute_empty(flag.applies_to, "flag should apply to some database version") end end
Version data entries
12 entries across 12 versions & 1 rubygems