mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
13 lines
286 B
Ruby
13 lines
286 B
Ruby
Shindo.tests("Fog::Compute::HPV2 | availability zone model", ['hp', 'v2', 'compute']) do
|
|
|
|
service = Fog::Compute.new(:provider => 'HP', :version => :v2)
|
|
|
|
@zones = service.availability_zones
|
|
|
|
tests('#available?').succeeds do
|
|
@zones.first.respond_to?('available?')
|
|
end
|
|
|
|
|
|
|
|
end
|