Sha256: 0124aa5f4fec2bdda886eb4ed9592df435441768614c9bc9d00c3a4438ecd6ff
Contents?: true
Size: 462 Bytes
Versions: 15
Compression:
Stored size: 462 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.self_link } end end
Version data entries
15 entries across 15 versions & 1 rubygems