Sha256: 4bd6a0e0247f9d7cc7a3e318ea49cd81c6ad6e1007a0af3e7a5c39242042a2a4
Contents?: true
Size: 552 Bytes
Versions: 8
Compression:
Stored size: 552 Bytes
Contents
require "integration/factories/collection_factory" require "integration/factories/sql_v1_instances_factory" class SqlV1CertsFactory < CollectionFactory def initialize(example) @instances = SqlV1InstancesFactory.new(example) super(Fog::Google[:sql].ssl_certs, example) end def cleanup # Certs will be cleaned up with the test instance. @instances.cleanup end def params # Certificate name should not be longer than 16 characters { :common_name => resource_name, :instance => @instances.create.name } end end
Version data entries
8 entries across 8 versions & 1 rubygems