Sha256: 7c160fa25df29007131e35bd4758a91be666645129c9b2208c880bd8b3b62fbd

Contents?: true

Size: 787 Bytes

Versions: 16

Compression:

Stored size: 787 Bytes

Contents

begin
  require 'simplecov'
  SimpleCov.start
  SimpleCov.command_name 'Shindo'
rescue LoadError => e
  $stderr.puts "not recording test coverage: #{e.inspect}"
end

require File.expand_path('../../lib/fog/aws', __FILE__)

Bundler.require(:test)

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
unless Fog.mocking?
  Fog.timeout = ENV['FOG_TEST_TIMEOUT'] || 2_000
  Fog::Logger.warning "Setting default fog timeout to #{Fog.timeout} seconds"
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

16 entries across 16 versions & 1 rubygems

Version Path
fog-aws-3.12.0 tests/helper.rb
fog-aws-3.11.0 tests/helper.rb
fog-aws-3.10.0 tests/helper.rb
fog-aws-3.9.0 tests/helper.rb
fog-aws-3.8.0 tests/helper.rb
fog-aws-3.7.0 tests/helper.rb
fog-aws-3.6.7 tests/helper.rb
fog-aws-3.6.6 tests/helper.rb
fog-aws-3.6.5 tests/helper.rb
fog-aws-3.6.4 tests/helper.rb
fog-aws-3.6.3 tests/helper.rb
fog-aws-3.6.2 tests/helper.rb
fog-aws-3.5.2 tests/helper.rb
fog-aws-3.5.1 tests/helper.rb
fog-aws-3.5.0 tests/helper.rb
fog-aws-3.4.0 tests/helper.rb