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:
parent
646492d153
commit
dde0887189
1 changed files with 1 additions and 1 deletions
|
@ -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?)
|
||||
|
|
Loading…
Reference in a new issue