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
fog-maestrodev-1.15.0.20130927082724 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.15.0.20130829165835 tests/cloudstack/requests/security_group_tests.rb
fog-1.15.0 tests/cloudstack/requests/security_group_tests.rb
gapinc-fog-1.14.0 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/cloudstack/requests/security_group_tests.rb
fog-1.14.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.13.0 tests/cloudstack/requests/security_group_tests.rb
gapinc-fog-1.12.1.2 tests/cloudstack/requests/security_group_tests.rb
gapinc-fog-1.12.1.1 tests/cloudstack/requests/security_group_tests.rb
gapinc-fog-1.12.1a tests/cloudstack/requests/security_group_tests.rb
gapinc-fog-1.12.1 tests/cloudstack/requests/security_group_tests.rb
fog-1.12.1 tests/cloudstack/requests/security_group_tests.rb
fog-1.12.0 tests/cloudstack/requests/security_group_tests.rb
hpfog-0.0.20 tests/cloudstack/requests/security_group_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/cloudstack/requests/security_group_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/cloudstack/requests/security_group_tests.rb
fog-nirvanix-1.8.2 tests/cloudstack/requests/security_group_tests.rb
fog-1.11.1 tests/cloudstack/requests/security_group_tests.rb
fog-1.11.0 tests/cloudstack/requests/security_group_tests.rb
fog-nirvanix-1.8.1 tests/cloudstack/requests/security_group_tests.rb