mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fixes for failing specs, thank integrity for ci
This commit is contained in:
parent
ab0ba1e2dd
commit
5cd4ef28ec
3 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ module Fog
|
|||
@value = ''
|
||||
end
|
||||
|
||||
def end_element
|
||||
def end_element(name)
|
||||
case name
|
||||
when 'amiLaunchIndex'
|
||||
@instance[:ami_launch_index] = @value
|
||||
|
|
|
@ -13,7 +13,7 @@ describe 'EC2.describe_addresses' do
|
|||
it "should return proper attributes with no params" do
|
||||
actual = ec2.describe_addresses
|
||||
actual.body[:request_id].should be_a(String)
|
||||
item = actual.body[:addresses].select {|address| address[:public_ip] == @public_ip}
|
||||
item = actual.body[:address_set].select {|address| address[:public_ip] == @public_ip}
|
||||
item.should_not be_nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue