aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract_unit.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-11-23 20:20:50 -0600
committerJoshua Peek <josh@joshpeek.com>2009-11-23 20:20:50 -0600
commit15ab3a98a1b6f9b829060ba974048b33466f6814 (patch)
tree17ffc94d9ddb1144e8367ccda2e3fd17d238bf8b /actionpack/test/abstract_unit.rb
parentf987e8561c2fdbf5f6ade34d68f66b6e7e19d8d3 (diff)
downloadrails-15ab3a98a1b6f9b829060ba974048b33466f6814.tar.gz
rails-15ab3a98a1b6f9b829060ba974048b33466f6814.tar.bz2
rails-15ab3a98a1b6f9b829060ba974048b33466f6814.zip
Find all controllers in memory to use for routing
Diffstat (limited to 'actionpack/test/abstract_unit.rb')
-rw-r--r--actionpack/test/abstract_unit.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index 775cfc82bf..9d055da4b9 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -191,20 +191,8 @@ class ::ApplicationController < ActionController::Base
end
module ActionController
- module Routing
- def self.possible_controllers
- @@possible_controllers ||= []
- end
- end
-
class Base
include ActionController::Testing
-
- def self.inherited(klass)
- name = klass.name.underscore.sub(/_controller$/, '')
- ActionController::Routing.possible_controllers << name unless name.blank?
- super
- end
end
Base.view_paths = FIXTURE_LOAD_PATH