Sha256: 52c19c8025e5c78a63458ecf6eeb9b6f4c3d6599c00b619a48b013b64f529d4b

Contents?: true

Size: 693 Bytes

Versions: 11

Compression:

Stored size: 693 Bytes

Contents

if ENV['COVERAGE']
  require 'coveralls'
  require 'simplecov'

  SimpleCov.command_name 'Unit Tests'

  SimpleCov.start do
    add_filter '/spec/'
    add_filter '/test/'
  end
end

require 'fog/ecloud'

if ENV['COVERAGE']
  Coveralls.wear!
end

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

Version data entries

11 entries across 9 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-ecloud-0.3.0/tests/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-ecloud-0.3.0/tests/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-ecloud-0.3.0/tests/helper.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-ecloud-0.1.1/tests/helper.rb
fog-ecloud-0.3.0 tests/helper.rb
fog-ecloud-0.2.0 tests/helper.rb
fog-ecloud-0.1.3 tests/helper.rb
fog-ecloud-0.1.2 tests/helper.rb
fog-ecloud-0.1.1 tests/helper.rb
fog-ecloud-0.1.0 tests/helper.rb
fog-ecloud-0.0.2 tests/helper.rb