1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
fog--fog-aws/tests/models/rds/snapshots_tests.rb
2015-01-02 09:42:20 -08:00

12 lines
332 B
Ruby

Shindo.tests("AWS::RDS | snapshots", ['aws', 'rds']) do
@server = Fog::AWS[:rds].servers.create(rds_default_server_params)
@server.wait_for { ready? }
params = {:id => uniq_id, :instance_id => @server.id}
collection_tests(Fog::AWS[:rds].snapshots, params) do
@instance.wait_for { ready? }
end
@server.destroy
end