Sha256: 6d7b228bd471196b0840f528f8d9ef3dfec7c2262b1c723fa30c76ff995f07eb

Contents?: true

Size: 296 Bytes

Versions: 10

Compression:

Stored size: 296 Bytes

Contents

module ModelSetup
  def self.included(base)
    base.class_eval do
      let(:arguments) do
        {
          :api => ''
        }
      end

      # Initialize the service object to be used inside models tests
      let(:service) { Fog::Compute::CloudAtCost.new(arguments) }
    end
  end
end

Version data entries

10 entries across 8 versions & 2 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-cloudatcost-0.1.2/spec/model_setup.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-cloudatcost-0.1.2/spec/model_setup.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-cloudatcost-0.1.2/spec/model_setup.rb
fog-cloudatcost-0.2.3 spec/model_setup.rb
fog-cloudatcost-0.2.2 spec/model_setup.rb
fog-cloudatcost-0.2.1 spec/model_setup.rb
fog-cloudatcost-0.2.0 spec/model_setup.rb
fog-cloudatcost-0.1.2 spec/model_setup.rb
fog-cloudatcost-0.1.1 spec/model_setup.rb
fog-cloudatcost-0.1.0 spec/model_setup.rb