Sha256: 8673e67f718001c8aa554903dfdcfd2023e00e511830c86f3675d93cb41b2adf

Contents?: true

Size: 506 Bytes

Versions: 116

Compression:

Stored size: 506 Bytes

Contents

def security_group_tests(connection, params, mocks_implemented = true)
  model_tests(connection.security_groups, params[:security_group_attributes], mocks_implemented) do
    if Fog.mocking? && !mocks_implemented
      pending
    else
      responds_to(:rules)
    end
  end
end

provider, config = :cloudstack, compute_providers[:cloudstack]
Shindo.tests("Fog::Compute[:#{provider}] | security_groups", [provider.to_s]) do

  security_group_tests(Fog::Compute[:cloudstack], config, config[:mocked])

end

Version data entries

116 entries across 114 versions & 14 rubygems

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