Sha256: 39ea0aebb29e46f4a56411fa81746d244756bd8460dace9d3924542a7a2cb0a7
Contents?: true
Size: 552 Bytes
Versions: 42
Compression:
Stored size: 552 Bytes
Contents
Shindo.tests('Fog::Network[:openstack] | security_group model', ['openstack']) do model_tests(Fog::Network[:openstack].security_groups, {:name => "fogsecgroup"}, true) tests('success') do tests('#create').succeeds do attributes = {:name => "my_secgroup", :description => "my sec group desc"} @secgroup = Fog::Network[:openstack].security_groups.create(attributes) @secgroup.wait_for { ready? } unless Fog.mocking? !@secgroup.id.nil? end tests('#destroy').succeeds do @secgroup.destroy end end end
Version data entries
42 entries across 42 versions & 6 rubygems