Sha256: ac2fda99a649f9718b7b07ee035e8237362d0f5972ea9f24e0436ca75fe287f4

Contents?: true

Size: 496 Bytes

Versions: 51

Compression:

Stored size: 496 Bytes

Contents

require "integration/factories/collection_factory"
require "integration/factories/http_health_checks_factory"

class BackendServicesFactory < CollectionFactory
  def initialize(example)
    @http_health_checks = HttpHealthChecksFactory.new(example)
    super(Fog::Compute[:google].backend_services, example)
  end

  def cleanup
    super
    @http_health_checks.cleanup
  end

  def params
    { :name => resource_name,
      :health_checks => [@http_health_checks.create.self_link] }
  end
end

Version data entries

51 entries across 51 versions & 2 rubygems

Version Path
fog-google-1.24.1 test/integration/factories/backend_services_factory.rb
fog-google-1.24.0 test/integration/factories/backend_services_factory.rb
fog-google-1.23.0 test/integration/factories/backend_services_factory.rb
fog-google-1.22.0 test/integration/factories/backend_services_factory.rb
fog-google-1.21.1 test/integration/factories/backend_services_factory.rb
fog-google-1.21.0 test/integration/factories/backend_services_factory.rb
fog-google-1.20.0 test/integration/factories/backend_services_factory.rb
fog-google-1.19.0 test/integration/factories/backend_services_factory.rb
fog-google-1.18.0 test/integration/factories/backend_services_factory.rb
fog-google-1.17.0 test/integration/factories/backend_services_factory.rb
fog-google-1.16.1 test/integration/factories/backend_services_factory.rb
fog-google-1.16.0 test/integration/factories/backend_services_factory.rb
fog-google-1.15.0 test/integration/factories/backend_services_factory.rb
fog-google-1.14.0 test/integration/factories/backend_services_factory.rb
gitlab-fog-google-1.14.0 test/integration/factories/backend_services_factory.rb
fog-google-1.13.0 test/integration/factories/backend_services_factory.rb
gitlab-fog-google-1.13.0 test/integration/factories/backend_services_factory.rb
fog-google-1.12.1 test/integration/factories/backend_services_factory.rb
fog-google-1.12.0 test/integration/factories/backend_services_factory.rb
fog-google-1.11.0 test/integration/factories/backend_services_factory.rb