Sha256: 93a363177fb5fcac21fe72e2a511368fb9167e593801d56c71ffff0707f779e0
Contents?: true
Size: 623 Bytes
Versions: 37
Compression:
Stored size: 623 Bytes
Contents
Shindo.tests('HP::Network | networking security groups collection', ['hp', 'networking', 'securitygroup']) do attributes = {:name => 'my_secgroup', :description => 'my sec group desc'} collection_tests(HP[:network].security_groups, attributes, true) tests('success') do attributes = {:name => 'fogsecgroup', :description => 'fog sec group desc'} @secgroup = HP[:network].security_groups.create(attributes) tests('#all(filter)').succeeds do secgroup = HP[:network].security_groups.all({:name => 'fogsecgroup'}) secgroup.first.name == 'fogsecgroup' end @secgroup.destroy end end
Version data entries
37 entries across 37 versions & 2 rubygems