mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
13 lines
No EOL
311 B
Ruby
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 |