mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
7b4a517cbf
closes #422
15 lines
361 B
Ruby
15 lines
361 B
Ruby
Shindo.tests("AWS::RDS | snapshot", ['aws', 'rds']) do
|
|
|
|
pending if Fog.mocking?
|
|
|
|
@server = Fog::AWS[:rds].servers.create(rds_default_server_params)
|
|
@server.wait_for { ready? }
|
|
|
|
params = {:id => uniq_id, :instance_id => @server.id}
|
|
model_tests(Fog::AWS[:rds].snapshots, params, false) do
|
|
@instance.wait_for { ready? }
|
|
end
|
|
|
|
@server.destroy
|
|
end
|
|
|