diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2006-02-26 17:49:09 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2006-02-26 17:49:09 +0000 |
commit | 26eaf073c4de8276663f927fdeeb91453e8b3956 (patch) | |
tree | 1690bbb49d971b063e240d155d58c503de938ee5 /railties/test/dispatcher_test.rb | |
parent | d11f8d551640c94e22c221c3bee39ab572b1dc72 (diff) | |
download | rails-26eaf073c4de8276663f927fdeeb91453e8b3956.tar.gz rails-26eaf073c4de8276663f927fdeeb91453e8b3956.tar.bz2 rails-26eaf073c4de8276663f927fdeeb91453e8b3956.zip |
Remove ::Controllers related cruft; fix AP tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/test/dispatcher_test.rb')
-rw-r--r-- | railties/test/dispatcher_test.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/railties/test/dispatcher_test.rb b/railties/test/dispatcher_test.rb index bf5d235dfe..41d08e224e 100644 --- a/railties/test/dispatcher_test.rb +++ b/railties/test/dispatcher_test.rb @@ -24,12 +24,10 @@ class DispatcherTest < Test::Unit::TestCase def setup @output = StringIO.new ENV['REQUEST_METHOD'] = "GET" - setup_minimal_environment end def teardown ENV['REQUEST_METHOD'] = nil - teardown_minimal_environment end def test_ac_subclasses_cleared_on_reset @@ -91,13 +89,4 @@ class DispatcherTest < Test::Unit::TestCase def dispatch Dispatcher.dispatch(nil, ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS, @output) end - - def setup_minimal_environment - value = Dependencies::LoadingModule.root - Object.const_set("Controllers", value) - end - - def teardown_minimal_environment - Object.send(:remove_const, "Controllers") - end end |