mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
f6339eb177
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
22 lines
636 B
Ruby
22 lines
636 B
Ruby
$:.unshift File.dirname(__FILE__) + "/../../activesupport/lib"
|
|
$:.unshift File.dirname(__FILE__) + "/../../actionpack/lib"
|
|
$:.unshift File.dirname(__FILE__) + "/../lib"
|
|
$:.unshift File.dirname(__FILE__) + "/../builtin/rails_info"
|
|
|
|
require 'test/unit'
|
|
require 'rubygems'
|
|
require 'mocha'
|
|
require 'stubba'
|
|
|
|
# Needed for the class mock delegation
|
|
#require File.dirname(__FILE__) + "/../../activesupport/lib/active_support/core_ext/class/attribute_accessors"
|
|
|
|
if defined?(RAILS_ROOT)
|
|
RAILS_ROOT.replace File.dirname(__FILE__)
|
|
else
|
|
RAILS_ROOT = File.dirname(__FILE__)
|
|
end
|
|
|
|
class Test::Unit::TestCase
|
|
# Add stuff here if you need it
|
|
end
|