Sha256: 8d618c65242db2daa2f0edaa9a4ce345e40a5480c4802ff56a8b4c85300da5e7
Contents?: true
Size: 638 Bytes
Versions: 2
Compression:
Stored size: 638 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'EC2.describe_availability_zones' do before(:all) do @ec2 = Fog::AWS::EC2.gen end it "should return proper attributes with no params" do actual = @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 = @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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geemus-fog-0.0.1 | spec/aws/requests/ec2/describe_regions_spec.rb |
geemus-fog-0.0.3 | spec/aws/requests/ec2/describe_regions_spec.rb |