1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

fix restore tests

This commit is contained in:
Eugene Howe 2016-01-19 12:06:54 -05:00
parent 646492d153
commit dde0887189

View file

@ -12,7 +12,7 @@ Shindo.tests("AWS::RDS | servers", ['aws', 'rds']) do
instance.destroy
db_name = uniq_id('fog-db-name')
@restore_instance = Fog::AWS[:rds].servers.restore(snapshot_id, db_name, {'master_username' => instance.master_username, 'flavor_id' => 'db.m3.medium'})
@restore_instance = Fog::AWS[:rds].servers.restore('master_username' => instance.master_username, 'flavor_id' => 'db.m3.medium', 'source_snapshot_id' => snapshot_id, 'id' => uniq_id('restored-instance'))
end
if Fog.mocking? && @restore_instance.respond_to?(:ready?)