1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/compute/models/aws/address_tests.rb

17 lines
305 B
Ruby
Raw Normal View History

Shindo.tests("Fog::Compute[:aws] | address", ['aws']) do
model_tests(Fog::Compute[:aws].addresses, {}, true) do
@server = Fog::Compute[:aws].servers.create
@server.wait_for { ready? }
tests('#server=').succeeds do
@instance.server = @server
end
@server.destroy
end
end