Sha256: 3fd61063ea06c0a7926b16be66b7829bde75545af7061c8be175418ec9473f98

Contents?: true

Size: 888 Bytes

Versions: 6

Compression:

Stored size: 888 Bytes

Contents

require 'excon'

if ENV['COVERAGE']
  require 'coveralls'
  require 'simplecov'

  SimpleCov.start do
    add_filter '/spec/'
    add_filter '/test/'
  end
end

require File.expand_path(File.join(File.dirname(__FILE__), '../lib/fog/atmos'))

Coveralls.wear! if ENV['COVERAGE']

Excon.defaults.merge!(:debug_request => true, :debug_response => true)

require File.expand_path(File.join(File.dirname(__FILE__), 'helpers', 'mock_helper'))

# This overrides the default 600 seconds timeout during live test runs
if Fog.mocking?
  FOG_TESTING_TIMEOUT = ENV['FOG_TEST_TIMEOUT'] || 2000
  Fog.timeout = 2000
  Fog::Logger.warning "Setting default fog timeout to #{Fog.timeout} seconds"
else
  FOG_TESTING_TIMEOUT = Fog.timeout
end

def lorem_file
  File.open(File.dirname(__FILE__) + '/lorem.txt', 'r')
end

def array_differences(array_a, array_b)
  (array_a - array_b) | (array_b - array_a)
end

Version data entries

6 entries across 4 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-atmos-0.1.0/tests/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-atmos-0.1.0/tests/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-atmos-0.1.0/tests/helper.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-atmos-0.1.0/tests/helper.rb
fog-atmos-0.1.0 tests/helper.rb
fog-atmos-0.0.1 tests/helper.rb