Sha256: d63b045aef2ab8556aa29721c7361f0ae393ba292216c362aa9e6feda91183d6
Contents?: true
Size: 452 Bytes
Versions: 14
Compression:
Stored size: 452 Bytes
Contents
require "integration/factories/collection_factory" require "integration/factories/servers_factory" class TargetInstancesFactory < CollectionFactory def initialize(example) @servers = ServersFactory.new(example) super(Fog::Compute[:google].target_instances, example) end def cleanup super @servers.cleanup end def params { :name => resource_name, :zone => TEST_ZONE, :instance => @servers.create } end end
Version data entries
14 entries across 14 versions & 1 rubygems