Sha256: 24811a2e4836f32bb519686cff65209f5ba6857eb02f7ade85179695137e3c61

Contents?: true

Size: 791 Bytes

Versions: 23

Compression:

Stored size: 791 Bytes

Contents

begin
  require "codeclimate-test-reporter"
  CodeClimate::TestReporter.start
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

23 entries across 23 versions & 2 rubygems

Version Path
fog-aws-0.12.0 tests/helper.rb
fog-aws-0.11.0 tests/helper.rb
fog-aws-0.10.0 tests/helper.rb
fog-aws-0.9.4 tests/helper.rb
fog-aws-0.9.3 tests/helper.rb
fog-aws-0.9.2 tests/helper.rb
fog-aws-0.9.1 tests/helper.rb
fog-aws-0.9.0 tests/helper.rb
fog-aws-0.8.1 tests/helper.rb
fog-aws-0.8.0 tests/helper.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-aws-0.7.5/tests/helper.rb
fog-aws-0.7.6 tests/helper.rb
fog-aws-0.7.5 tests/helper.rb
fog-aws-0.7.4 tests/helper.rb
fog-aws-0.7.3 tests/helper.rb
fog-aws-0.7.2 tests/helper.rb
fog-aws-0.6.0 tests/helper.rb
fog-aws-0.5.0 tests/helper.rb
fog-aws-0.4.1 tests/helper.rb
fog-aws-0.4.0 tests/helper.rb