diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-05-17 12:24:42 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-05-17 12:24:59 -0500 |
commit | 8118fca9beec675fba19395e7d1027eaa4b5703a (patch) | |
tree | ba49bc63cb8bd1e2dbb222f59bfb023880ecf553 /actionpack/test/controller | |
parent | c3319504f066c9362b4b30e1e15bbd1cadde8e25 (diff) | |
download | rails-8118fca9beec675fba19395e7d1027eaa4b5703a.tar.gz rails-8118fca9beec675fba19395e7d1027eaa4b5703a.tar.bz2 rails-8118fca9beec675fba19395e7d1027eaa4b5703a.zip |
Merge Failsafe middleware into ShowExceptions
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/rescue_test.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/actionpack/test/controller/rescue_test.rb b/actionpack/test/controller/rescue_test.rb index f745926b20..490a4ff3b3 100644 --- a/actionpack/test/controller/rescue_test.rb +++ b/actionpack/test/controller/rescue_test.rb @@ -1,5 +1,19 @@ require 'abstract_unit' +module ActionDispatch + class ShowExceptions + private + def public_path + "#{FIXTURE_LOAD_PATH}/public" + end + + # Silence logger + def logger + nil + end + end +end + class RescueController < ActionController::Base class NotAuthorized < StandardError end |