diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-20 10:06:45 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-20 10:06:45 -0800 |
commit | 8c2dc4cd043ee2b5b756a737801a62fb7bfc7ba2 (patch) | |
tree | 32b363fd2a910c7ab2083a637d08a5b0cd5debde /actionpack/test/dispatch | |
parent | 712b0b99a273c49fb4fad48ae61b4ce252ec0562 (diff) | |
parent | 73709f7ffacca74cea2111b42a1ef65a7f8ebc3b (diff) | |
download | rails-8c2dc4cd043ee2b5b756a737801a62fb7bfc7ba2.tar.gz rails-8c2dc4cd043ee2b5b756a737801a62fb7bfc7ba2.tar.bz2 rails-8c2dc4cd043ee2b5b756a737801a62fb7bfc7ba2.zip |
Merge pull request #4556 from brainopia/remove_old_cruft
Removed unused assigns from ActionView::Template::Error
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/debug_exceptions_test.rb | 2 | ||||
-rw-r--r-- | actionpack/test/dispatch/show_exceptions_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/debug_exceptions_test.rb b/actionpack/test/dispatch/debug_exceptions_test.rb index c3a565990e..11c292d61a 100644 --- a/actionpack/test/dispatch/debug_exceptions_test.rb +++ b/actionpack/test/dispatch/debug_exceptions_test.rb @@ -34,7 +34,7 @@ class DebugExceptionsTest < ActionDispatch::IntegrationTest when "/unprocessable_entity" raise ActionController::InvalidAuthenticityToken when "/not_found_original_exception" - raise ActionView::Template::Error.new('template', {}, AbstractController::ActionNotFound.new) + raise ActionView::Template::Error.new('template', AbstractController::ActionNotFound.new) else raise "puke!" end diff --git a/actionpack/test/dispatch/show_exceptions_test.rb b/actionpack/test/dispatch/show_exceptions_test.rb index 4a6d5ddbf7..45f8fc11b3 100644 --- a/actionpack/test/dispatch/show_exceptions_test.rb +++ b/actionpack/test/dispatch/show_exceptions_test.rb @@ -11,7 +11,7 @@ class ShowExceptionsTest < ActionDispatch::IntegrationTest when "/method_not_allowed" raise ActionController::MethodNotAllowed when "/not_found_original_exception" - raise ActionView::Template::Error.new('template', {}, AbstractController::ActionNotFound.new) + raise ActionView::Template::Error.new('template', AbstractController::ActionNotFound.new) else raise "puke!" end |