aboutsummaryrefslogblamecommitdiffstats
path: root/activeresource/test/abstract_unit.rb
blob: 81e582f5c2ed63e84649073d1955291533fe5b96 (plain) (tree)
1
2
3
4
5
6
7
8
9
     
                                                                        
                

   
                                             

                                                             
                  
                   
                         
                        
                                
 

                                              
 
                

                                                                               

                      
                
   
begin
  require File.expand_path('../../../vendor/gems/environment', __FILE__)
rescue LoadError
end

lib = File.expand_path('../../lib', __FILE__)
$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib)

require 'rubygems'
require 'test/unit'
require 'active_resource'
require 'active_support'
require 'active_model/test_case'

$:.unshift "#{File.dirname(__FILE__)}/../test"
require 'setter_trap'

require 'logger'
ActiveResource::Base.logger = Logger.new("#{File.dirname(__FILE__)}/debug.log")

begin
  require 'ruby-debug'
rescue LoadError
end