mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Dispatcher test requires abstract_unit. Cleanup abstract_unit.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
e69390dffe
commit
36cf67e8e5
2 changed files with 3 additions and 8 deletions
|
@ -4,10 +4,7 @@ $:.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"
|
||||
require 'active_support'
|
||||
|
||||
if defined?(RAILS_ROOT)
|
||||
RAILS_ROOT.replace File.dirname(__FILE__)
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
$:.unshift File.dirname(__FILE__) + "/../lib"
|
||||
$:.unshift File.dirname(__FILE__) + "/../../actionpack/lib"
|
||||
require "#{File.dirname(__FILE__)}/abstract_unit"
|
||||
$:.unshift File.dirname(__FILE__) + "/../../actionmailer/lib"
|
||||
|
||||
require 'test/unit'
|
||||
require 'stringio'
|
||||
require 'cgi'
|
||||
|
||||
|
@ -138,4 +136,4 @@ class DispatcherTest < Test::Unit::TestCase
|
|||
def assert_subclasses(howmany, klass, message = klass.subclasses.inspect)
|
||||
assert_equal howmany, klass.subclasses.size, message
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue