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
|
instance.destroy
|
||||||
|
|
||||||
db_name = uniq_id('fog-db-name')
|
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
|
end
|
||||||
|
|
||||||
if Fog.mocking? && @restore_instance.respond_to?(:ready?)
|
if Fog.mocking? && @restore_instance.respond_to?(:ready?)
|
||||||
|
|
Loading…
Reference in a new issue