Sha256: a0301dd89ee07f32c68b67de88f359cc862b59580437ff9f13566b6df7a549fd

Contents?: true

Size: 748 Bytes

Versions: 40

Compression:

Stored size: 748 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

40 entries across 38 versions & 5 rubygems

Version Path
fog-2.1.0 tests/cloudstack/requests/security_group_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/tests/cloudstack/requests/security_group_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/tests/cloudstack/requests/security_group_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/tests/cloudstack/requests/security_group_tests.rb
fog-1.42.1 tests/cloudstack/requests/security_group_tests.rb
fog-2.0.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.42.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.41.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.40.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.39.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.38.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.37.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.36.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.35.0 tests/cloudstack/requests/security_group_tests.rb
fog-2.0.0.pre.0 tests/cloudstack/requests/security_group_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/cloudstack/requests/security_group_tests.rb
fog-1.34.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.33.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.32.0 tests/cloudstack/requests/security_group_tests.rb
fog-1.31.0 tests/cloudstack/requests/security_group_tests.rb