diff options
Diffstat (limited to 'actionpack/test/controller/fake_controllers.rb')
-rw-r--r-- | actionpack/test/controller/fake_controllers.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/controller/fake_controllers.rb b/actionpack/test/controller/fake_controllers.rb index 8c626acab3..5f958b2845 100644 --- a/actionpack/test/controller/fake_controllers.rb +++ b/actionpack/test/controller/fake_controllers.rb @@ -2,6 +2,8 @@ class << Object; alias_method :const_available?, :const_defined?; end class ContentController < Class.new(ActionController::Base) end +class NotAController +end module Admin class << self; alias_method :const_available?, :const_defined?; end class UserController < Class.new(ActionController::Base); end |