mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
20 lines
408 B
Ruby
20 lines
408 B
Ruby
require 'rubygems'
|
|
require 'test/unit'
|
|
|
|
gem 'mocha', '>= 0.9.5'
|
|
require 'mocha'
|
|
|
|
$:.unshift "#{File.dirname(__FILE__)}/../lib"
|
|
require 'active_resource'
|
|
require 'active_resource/http_mock'
|
|
|
|
$:.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
|