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