Sha256: cc53a2db82280d45e308a9beb6b9eba1d478a6649554897c59f45c801e157867

Contents?: true

Size: 670 Bytes

Versions: 11

Compression:

Stored size: 670 Bytes

Contents

require 'coveralls'
Coveralls.wear!

require File.expand_path('../../lib/fog/openstack', __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

11 entries across 11 versions & 1 rubygems

Version Path
fog-openstack-0.1.12 tests/helper.rb
fog-openstack-0.1.11 tests/helper.rb
fog-openstack-0.1.10 tests/helper.rb
fog-openstack-0.1.9 tests/helper.rb
fog-openstack-0.1.8 tests/helper.rb
fog-openstack-0.1.7 tests/helper.rb
fog-openstack-0.1.6 tests/helper.rb
fog-openstack-0.1.5 tests/helper.rb
fog-openstack-0.1.4 tests/helper.rb
fog-openstack-0.1.3 tests/helper.rb
fog-openstack-0.1.2 tests/helper.rb