Sha256: 6adc1a0c9e23ecf6c9a14a6baf9e16954f6653ad316af1ddc1f9dd2d69956e40
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
require 'simplecov' if ENV['COVERAGE'] == 'true' && RUBY_VERSION != "1.9.2" require 'coveralls' SimpleCov.command_name "shindo:#{Process.pid.to_s}" SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.merge_timeout 3600 SimpleCov.start end ENV['FOG_RC'] = ENV['FOG_RC'] || File.expand_path('../.fog', __FILE__) ENV['FOG_CREDENTIAL'] = ENV['FOG_CREDENTIAL'] || 'default' require 'fog' require 'fog/bin' # for available_providers and registered_providers 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-softlayer-0.0.8 | tests/helper.rb |
fog-softlayer-0.0.7 | tests/helper.rb |