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-1.22.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.21.0 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.20.0.20140305101305 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.19.0.20140212012611 tests/cloudstack/requests/security_group_tests.rb
fog-1.20.0 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.19.0.20140110004459 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.19.0.20140107142106 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.19.0.20131219203941 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.18.0.20131219193542 tests/cloudstack/requests/security_group_tests.rb
fog-1.19.0 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.18.0.20131219033443 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.18.0.20131219032002 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.18.0.20131219030716 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.18.0.20131219022322 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.18.0.20131218202447 tests/cloudstack/requests/security_group_tests.rb
fog-maestrodev-1.18.0.20131209091424 tests/cloudstack/requests/security_group_tests.rb