Sha256: 94b4c82a9695344886a2050fdf92d3acd9d787cac972380767c77e9e6c89b6c7

Contents?: true

Size: 498 Bytes

Versions: 40

Compression:

Stored size: 498 Bytes

Contents

def security_group_tests(provider, params, mocks_implemented = true)
	collection_tests(provider.security_groups, params, 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_group", [provider.to_s]) do

	security_group_tests(Fog::Compute[provider], (config[:security_group_attributes] || {}), config[:mocked])

end

Version data entries

40 entries across 38 versions & 5 rubygems

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