Sha256: 53fb8ebf2994c94547226ac2ef67304020675c37332f86a27c3cb6a77c84bba6
Contents?: true
Size: 648 Bytes
Versions: 61
Compression:
Stored size: 648 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'EC2.describe_availability_zones' do describe 'success' do it "should return proper attributes with no params" do actual = AWS[:ec2].describe_regions zone = actual.body['regionInfo'].first zone['regionEndpoint'].should be_a(String) zone['regionName'].should be_a(String) end it "should return proper attribute with params" do actual = AWS[:ec2].describe_regions(['us-east-1']) zone = actual.body['regionInfo'].first zone['regionEndpoint'].should be_a(String) zone['regionName'].should be_a(String) end end end
Version data entries
61 entries across 61 versions & 1 rubygems