mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
8050770377
Use m1.small flavor with gentoo ami; smallest flavor that supports instance storage. Expect nullable strings for these attributes: * snapshot descriptions * tag descriptions * volume snapshotIds Whitespace cleanup.
16 lines
340 B
Ruby
16 lines
340 B
Ruby
Shindo.tests("AWS::Compute | address", ['aws']) do
|
|
|
|
model_tests(AWS[:compute].addresses, {}, true) do
|
|
|
|
@server = AWS[:compute].servers.create(:image_id => GENTOO_AMI, :flavor_id => 'm1.small')
|
|
@server.wait_for { ready? }
|
|
|
|
tests('#server=').succeeds do
|
|
@instance.server = @server
|
|
end
|
|
|
|
@server.destroy
|
|
|
|
end
|
|
|
|
end
|