mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
2b0d668efc
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
20 lines
603 B
Ruby
20 lines
603 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'
|
|
|
|
# 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
|