Sha256: 377b681d7548c115db6f6659deffbdc22d4514cc7bbfc9d618170f7e1779f94c

Contents?: true

Size: 486 Bytes

Versions: 11

Compression:

Stored size: 486 Bytes

Contents

require "integration/factories/collection_factory"
require "integration/factories/backend_services_factory"

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

  def cleanup
    super
    @backend_services.cleanup
  end

  def params
    params = {:name => resource_name,
              :default_service => @backend_services.create.self_link}
  end
end

Version data entries

11 entries across 9 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-google-0.1.0/test/integration/factories/url_maps_factory.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-google-0.1.0/test/integration/factories/url_maps_factory.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-google-0.1.0/test/integration/factories/url_maps_factory.rb
fog-google-0.1.3 test/integration/factories/url_maps_factory.rb
fog-google-0.1.2 test/integration/factories/url_maps_factory.rb
fog-google-0.1.1 test/integration/factories/url_maps_factory.rb
fog-google-0.1.0 test/integration/factories/url_maps_factory.rb
fog-google-0.0.9 test/integration/factories/url_maps_factory.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-google-0.0.7/test/integration/factories/url_maps_factory.rb
fog-google-0.0.7 test/integration/factories/url_maps_factory.rb
fog-google-0.0.6 test/integration/factories/url_maps_factory.rb