1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/hp/models/compute_v2/availability_zones_tests.rb

13 lines
No EOL
311 B
Ruby

Shindo.tests("Fog::Compute::HPV2 | availability zones collection", ['hp', 'v2', 'compute']) do
service = Fog::Compute.new(:provider => 'HP', :version => :v2)
tests('#all').succeeds do
@zones = service.availability_zones
end
tests('#get').succeeds do
@zones.get('az1').name == 'az1'
end
end