1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[ec2] remove invalid address test

This commit is contained in:
geemus 2010-05-25 10:38:40 -07:00
parent c4d20a7e83
commit d7a10eea40

View file

@ -22,28 +22,12 @@ Shindo.tests('AWS::EC2 | address requests', ['aws']) do
AWS[:ec2].describe_addresses(@public_ip).body
end
tests("#associate_addresses('#{@server.identity}', '#{@public_Ip}')") do
formats(AWS::EC2::Formats::BASIC) do
AWS[:ec2].associate_address(@server.identity, @public_ip).body
end
tests('server.ip_address').returns(@public_ip) do
@server.reload.ip_address
end
tests("#associate_addresses('#{@server.identity}', '#{@public_Ip}')").formats(AWS::EC2::Formats::BASIC) do
AWS[:ec2].associate_address(@server.identity, @public_ip).body
end
tests("#dissassociate_address('#{@public_ip}')") do
formats(AWS::EC2::Formats::BASIC) do
AWS[:ec2].disassociate_address(@public_ip).body
end
test("server.ip_address is not #{@public_ip}") do
@server.reload.ip_address != @public_ip
end
tests("#dissassociate_address('#{@public_ip}')").formats(AWS::EC2::Formats::BASIC) do
AWS[:ec2].disassociate_address(@public_ip).body
end
tests("#release_address('#{@public_ip}')").formats(AWS::EC2::Formats::BASIC) do