Sha256: fa25137bde39847a5a773c4ab1bd23c191d4db46bd311af3cd77faf071b9dd2f

Contents?: true

Size: 488 Bytes

Versions: 4

Compression:

Stored size: 488 Bytes

Contents

require 'rubygems'
require 'context'
if ENV['LEFTRIGHT']
  require 'leftright'
end

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'faraday'

begin
  require 'ruby-debug'
  Debugger.start
rescue LoadError
end

module Faraday
  class TestCase < Test::Unit::TestCase
    LIVE_SERVER = case ENV['LIVE']
      when /^http/ then ENV['LIVE']
      when nil     then nil
      else 'http://localhost:4567'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
faraday-0.2.3 test/helper.rb
faraday-0.2.2 test/helper.rb
faraday-0.2.1 test/helper.rb
faraday-0.2.0 test/helper.rb