1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/controller
Sean Griffin b76b817629 Use the most highest priority exception handler when cause is set
There was some subtle breakage caused by #18774, when we removed
`#original_exception` in favor of `#cause`. However, `#cause` is
automatically set by Ruby when raising an exception from a rescue block.
With this change, we will use whichever handler has the highest priority
(whichever call to `rescue_from` came last). In cases where the outer
has lower precidence than the cause, but the outer is what should be
handled, cause will need to be explicitly unset.

Fixes #23925
2016-03-11 10:53:01 -07:00
..
api - Fix warning introduced in 77acc004ef when fixing API responses. 2016-01-22 00:38:12 +05:30
controller_fixtures
metal Test ActionController::Renderers::use_renderers 2015-12-31 13:07:58 -06:00
mime Render default template if block doesn't render 2016-02-25 07:14:49 -06:00
new_base Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
parameters Add ActionController::Parameters#dig 2016-03-09 09:49:23 -07:00
request let the superclass build the request and response 2015-07-08 14:15:53 -07:00
action_pack_assertions_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
base_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
caching_test.rb Make collection caching explicit. 2016-02-20 16:54:32 +01:00
content_type_test.rb Use Mime[:foo] instead of Mime::Type[:FOO] for back compat 2015-10-06 11:29:30 -07:00
default_url_options_with_before_action_test.rb Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00
filters_test.rb Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00
flash_hash_test.rb
flash_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
force_ssl_test.rb Fix request.ssl? bug with Action Cable 2016-02-23 16:09:44 -05:00
form_builder_test.rb
helper_test.rb deletes code commented out in 72160d9f 2015-12-15 22:28:50 -08:00
http_basic_authentication_test.rb Merge pull request #21181 from denisenkom/mypatch 2016-01-10 17:44:43 +01:00
http_digest_authentication_test.rb Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00
http_token_authentication_test.rb Merge pull request #14212 from tylerhunt/fix-token-regex 2015-12-15 10:59:54 -07:00
integration_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
live_stream_test.rb disable controller / view thread spawning in tests 2016-02-05 11:42:15 -08:00
localized_templates_test.rb
log_subscriber_test.rb Pass headers through to payload for logging. 2016-03-08 22:59:27 -05:00
output_escaping_test.rb
params_wrapper_test.rb Remove mocha from ActionPack tests 2015-09-05 16:58:40 +02:00
permitted_params_test.rb Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00
redirect_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
render_js_test.rb
render_json_test.rb Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00
render_test.rb Remove http_cache_forever's version parameter 2016-03-05 00:41:10 -05:00
render_xml_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
renderer_test.rb create a new renderer instance on calls to for 2015-09-14 15:58:12 -07:00
renderers_test.rb Add ActionController:Renderers test 2016-01-03 22:51:45 -06:00
request_forgery_protection_test.rb Make per form token work when method is not provided 2016-02-22 18:40:48 -03:00
required_params_test.rb Add methods to StrongParameters 2016-01-19 12:06:29 -06:00
rescue_test.rb Use the most highest priority exception handler when cause is set 2016-03-11 10:53:01 -07:00
resources_test.rb Merge pull request #21366 from amitsuroliya/remove_unused_variable 2015-08-25 14:08:17 -03:00
routing_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
runner_test.rb
send_file_test.rb Use Mime[:foo] instead of Mime::Type[:FOO] for back compat 2015-10-06 11:29:30 -07:00
show_exceptions_test.rb
streaming_test.rb
test_case_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
url_for_integration_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
url_for_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
url_rewriter_test.rb Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
webservice_test.rb Transform the mime object to symbol when registering the parsers 2016-02-22 21:22:29 -03:00