Sha256: 0f86880caa70c4d9387191827f59b8c7dd5a98231f05cdd1a0afa0b3b3d13492

Contents?: true

Size: 797 Bytes

Versions: 10

Compression:

Stored size: 797 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/rackspace', __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

10 entries across 8 versions & 2 rubygems

Version Path
fog-rackspace-0.1.6 tests/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-rackspace-0.1.5/tests/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-rackspace-0.1.5/tests/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-rackspace-0.1.5/tests/helper.rb
fog-rackspace-0.1.5 tests/helper.rb
fog-rackspace-0.1.4 tests/helper.rb
fog-rackspace-0.1.3 tests/helper.rb
fog-rackspace-0.1.2 tests/helper.rb
fog-rackspace-0.1.1 tests/helper.rb
fog-rackspace-0.1.0 tests/helper.rb