Sha256: 7a15fa62f4c3fe93d6df12d7822555d2d3406884713d89e1b4a9eb7660421f31

Contents?: true

Size: 499 Bytes

Versions: 76

Compression:

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

76 entries across 76 versions & 10 rubygems

Version Path
fog-1.10.1 tests/cloudstack/compute/models/security_groups_tests.rb
fog-parser-fix-1.6.1 tests/cloudstack/compute/models/security_groups_tests.rb
fog-test-again-1.6.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-test-me-1.10.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-parser-fix-1.6.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.10.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.9.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-maestrodev-1.8.0.20130114204828 tests/cloudstack/compute/models/security_groups_tests.rb
fog-maestrodev-1.8.0.20130111070250 tests/cloudstack/compute/models/security_groups_tests.rb
fog-maestrodev-1.8.0.20130109172219 tests/cloudstack/compute/models/security_groups_tests.rb
fog-sgonyea-1.8.1 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.8.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-maestrodev-1.7.0.20121114190951 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.7.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.6.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.5.0 tests/cloudstack/compute/models/security_groups_tests.rb