1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activeresource/test/abstract_unit.rb

26 lines
587 B
Ruby
Raw Normal View History

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)
2009-02-03 21:57:01 -05:00
require 'rubygems'
require 'test/unit'
require 'active_resource'
2009-10-14 17:47:00 -04:00
require 'active_support'
require 'active_support/test_case'
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