Sha256: 3995b84488e2a855bc721b4a68af1ce3a82396dca901c0b553acba2521a0e1fd

Contents?: true

Size: 747 Bytes

Versions: 87

Compression:

Stored size: 747 Bytes

Contents

Shindo.tests('Fog::Compute[:cloudstack] | security group requests', ['cloudstack']) do

  @security_groups_format = {
    'listsecuritygroupsresponse'  => {
      'count' => Integer,
      'securitygroup' => [
        'id' => Integer,
        'account' => String,
        'description' => Fog::Nullable::String,
        'domain' => String,
        'domainid' => Integer,
        'jobid' => Fog::Nullable::Integer,
        'jobstatus' => Fog::Nullable::String,
        'name' => String,
        'ingressrule' => Fog::Nullable::Array
      ]
    }
  }

  tests('success') do

    tests('#list_security_groups').formats(@security_groups_format) do
      pending if Fog.mocking?
      Fog::Compute[:cloudstack].list_security_groups
    end

  end

end

Version data entries

87 entries across 87 versions & 15 rubygems

Version Path
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/tests/cloudstack/requests/security_group_tests.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/tests/cloudstack/requests/security_group_tests.rb
fog-1.3.1 tests/cloudstack/requests/security_group_tests.rb
fog-1.3.0 tests/cloudstack/requests/security_group_tests.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/tests/cloudstack/requests/security_group_tests.rb
fog-1.2.0 tests/cloudstack/requests/security_group_tests.rb
ktheory-fog-1.1.2 tests/cloudstack/requests/security_group_tests.rb