mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
21 lines
603 B
Ruby
21 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
|