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/requests/compute_v2/availability_zone_tests.rb
Paul Thornthwaite 330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +01:00

19 lines
439 B
Ruby

Shindo.tests("Fog::Compute::HPV2 | availability_zone requests", ['hp', 'v2', 'compute']) do
service = Fog::Compute.new(:provider => 'HP', :version => :v2)
@zone_format = {
'zoneName' => String,
'zoneState' => Hash,
'hosts' => nil
}
tests('success') do
tests('#list_availability_zones').formats([@zone_format]) do
service.list_availability_zones.body['availabilityZoneInfo']
end
end
end