diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index f38f64c1ffa164e3801e2f7d74cb486d536fa0e2..d968acd2f371db1aa1a299d39c4df6e135e161aa 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Removed the require hack used by functional testing to work around an earlier bug in rake. + * Allow distance_of_time_in_words to work with any value that responds to #to_time (like dates) #969 * Support :render option for :verify #1440 [TobiasLuetke] diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb index 1872cacd10a27ee89bd92d4038880ceb15539df2..0480d50f57c75c7eaf89d0cf88a1cb546eaf277a 100644 --- a/actionpack/lib/action_controller/test_process.rb +++ b/actionpack/lib/action_controller/test_process.rb @@ -1,22 +1,6 @@ require File.dirname(__FILE__) + '/assertions' require File.dirname(__FILE__) + '/deprecated_assertions' -if defined?(RAILS_ROOT) - # Temporary hack for getting functional tests in Rails running under 1.8.2 - class Object #:nodoc: - alias_method :require_without_load_path_reloading, :require - def require(file_name) - begin - require_without_load_path_reloading(file_name) - rescue Object => e - ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } - require_without_load_path_reloading(file_name) - end - end - end -end - - module ActionController #:nodoc: class Base # Process a test request called with a +TestRequest+ object.