Sha256: 256f4ec0cccf8ed8c0afec713e805108f38c8be6708804916ffe02ee7a712380

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-arubacloud-0.0.3 spec/model_setup.rb