mirror of
				https://github.com/lostisland/faraday.git
				synced 2025-11-04 00:02:33 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			374 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			374 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
require 'rubygems'
 | 
						|
require 'context'
 | 
						|
 | 
						|
$LOAD_PATH.unshift(File.dirname(__FILE__))
 | 
						|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
 | 
						|
require 'faraday'
 | 
						|
 | 
						|
module Faraday
 | 
						|
  class TestCase < Test::Unit::TestCase
 | 
						|
    LIVE_SERVER = 'http://localhost:4567'
 | 
						|
 | 
						|
    class TestConnection < Faraday::Connection
 | 
						|
      include Faraday::Adapter::MockRequest
 | 
						|
    end
 | 
						|
  end
 | 
						|
end
 |