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-maestrodev-1.15.0.20130927082724 tests/cloudstack/compute/models/security_groups_tests.rb
fog-maestrodev-1.15.0.20130829165835 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.15.0 tests/cloudstack/compute/models/security_groups_tests.rb
gapinc-fog-1.14.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-maestrodev-1.14.0.20130806165225 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.14.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.13.0 tests/cloudstack/compute/models/security_groups_tests.rb
gapinc-fog-1.12.1.2 tests/cloudstack/compute/models/security_groups_tests.rb
gapinc-fog-1.12.1.1 tests/cloudstack/compute/models/security_groups_tests.rb
gapinc-fog-1.12.1a tests/cloudstack/compute/models/security_groups_tests.rb
gapinc-fog-1.12.1 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.12.1 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.12.0 tests/cloudstack/compute/models/security_groups_tests.rb
hpfog-0.0.20 tests/cloudstack/compute/models/security_groups_tests.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/tests/cloudstack/compute/models/security_groups_tests.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/tests/cloudstack/compute/models/security_groups_tests.rb
fog-nirvanix-1.8.2 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.11.1 tests/cloudstack/compute/models/security_groups_tests.rb
fog-1.11.0 tests/cloudstack/compute/models/security_groups_tests.rb
fog-nirvanix-1.8.1 tests/cloudstack/compute/models/security_groups_tests.rb