mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
![Aaron Suggs](/assets/img/avatar_default.png)
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.
10 lines
276 B
Ruby
10 lines
276 B
Ruby
Shindo.tests("AWS::Compute | snapshot", ['aws']) do
|
|
|
|
@volume = AWS[:compute].volumes.create(:availability_zone => 'us-east-1a', :size => 1)
|
|
@volume.wait_for { ready? }
|
|
|
|
model_tests(AWS[:compute].snapshots, {:volume_id => @volume.identity}, true)
|
|
|
|
@volume.destroy
|
|
|
|
end
|