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

[aws|rds] Correct server#read_replica_identifiers when mocking

This commit is contained in:
Aaron Suggs 2012-08-03 13:39:45 -04:00
parent 0ff8733c65
commit c5fc9f29c8
2 changed files with 5 additions and 1 deletions

View file

@ -80,7 +80,7 @@ module Fog
"InstanceCreateTime" => nil,
"AutoMinorVersionUpgrade"=>true,
"Endpoint"=>{},
"ReadReplicaDBInstanceIdentifiers"=>['bla'],
"ReadReplicaDBInstanceIdentifiers"=>[],
"PreferredMaintenanceWindow"=>"mon:04:30-mon:05:00",
"Engine"=> options["Engine"],
"EngineVersion"=> options["EngineVersion"] || "5.1.57",

View file

@ -6,6 +6,10 @@ Shindo.tests("AWS::RDS | server", ['aws', 'rds']) do
@instance.wait_for(20*60) { ready? }
test('#read_replica_identifiers is []') do
returns([]) { @instance.read_replica_identifiers }
end
tests('#snapshots') do
snapshot = nil