1
0
Fork 0
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:
Wesley Beary 2009-07-13 20:00:27 -07:00
parent ab0ba1e2dd
commit 5cd4ef28ec
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ module Fog
@value = '' @value = ''
end end
def end_element def end_element(name)
case name case name
when 'amiLaunchIndex' when 'amiLaunchIndex'
@instance[:ami_launch_index] = @value @instance[:ami_launch_index] = @value

View file

@ -13,7 +13,7 @@ describe 'EC2.describe_addresses' do
it "should return proper attributes with no params" do it "should return proper attributes with no params" do
actual = ec2.describe_addresses actual = ec2.describe_addresses
actual.body[:request_id].should be_a(String) 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 item.should_not be_nil
end end