Sha256: 92bdc3fbb3e422eeaffeb21d7879a84d69a8a9d37d7f1d38be45ae9e3c6fceec
Contents?: true
Size: 435 Bytes
Versions: 2
Compression:
Stored size: 435 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'EC2.allocate_address' do before(:all) do @ec2 = Fog::AWS::EC2.gen end after(:all) do @ec2.release_address(@public_ip) end it "should return proper attributes" do actual = @ec2.allocate_address actual.body['requestId'].should be_a(String) @public_ip = actual.body['publicIp'] actual.body['publicIp'].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/allocate_address_spec.rb |
geemus-fog-0.0.3 | spec/aws/requests/ec2/allocate_address_spec.rb |