Sha256: bf66fd2b06bd4b40185ff3dabad49481bec3077350cd37cf2ebee972ff9176df
Contents?: true
Size: 627 Bytes
Versions: 30
Compression:
Stored size: 627 Bytes
Contents
Shindo.tests("Fog::Compute::HPV2 | key_pair model", ['hp', 'v2', 'compute']) do service = Fog::Compute.new(:provider => 'HP', :version => :v2) model_tests(service.key_pairs, {:name => 'fogkeyname'}, true) after do @keypair.destroy end tests('new keypair') do @keypair = service.key_pairs.create(:name => 'fogtestkey') test('writable?') do @keypair.writable? == true end end tests('existing keypair') do service.key_pairs.create(:name => 'fogtestkey') @keypair = service.key_pairs.get('fogtestkey') test('writable?') do @keypair.writable? == false end end end
Version data entries
30 entries across 30 versions & 4 rubygems