2010-02-23 20:31:17 -05:00
|
|
|
require File.expand_path('../../../load_paths', __FILE__)
|
2009-11-10 00:28:36 -05:00
|
|
|
|
2010-02-28 19:29:34 -05:00
|
|
|
lib = File.expand_path("#{File.dirname(__FILE__)}/../lib")
|
|
|
|
$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib)
|
|
|
|
|
2009-02-03 21:57:01 -05:00
|
|
|
require 'rubygems'
|
2006-06-25 10:44:22 -04:00
|
|
|
require 'test/unit'
|
2009-12-16 12:56:51 -05:00
|
|
|
require 'active_resource'
|
2009-10-14 17:47:00 -04:00
|
|
|
require 'active_support'
|
2010-02-10 19:45:30 -05:00
|
|
|
require 'active_support/test_case'
|
2006-12-05 14:12:51 -05:00
|
|
|
|
2007-01-24 13:29:07 -05:00
|
|
|
require 'setter_trap'
|
2007-01-23 00:22:33 -05:00
|
|
|
|
2009-05-06 03:14:55 -04:00
|
|
|
require 'logger'
|
2008-04-16 06:39:19 -04:00
|
|
|
ActiveResource::Base.logger = Logger.new("#{File.dirname(__FILE__)}/debug.log")
|
|
|
|
|
2009-05-06 03:14:55 -04:00
|
|
|
begin
|
|
|
|
require 'ruby-debug'
|
2008-07-19 12:14:12 -04:00
|
|
|
rescue LoadError
|
|
|
|
end
|