1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test/template
Joel Hawksley 136b814144 Include layout when rendering objects from controllers
In https://github.com/rails/rails/pull/37919, support
for rendering objects that respond_to render_in in
controllers was added. However, the implementation
did not support layouts.

This change updates the implementation from #37919
to more closely match the rest of the
ActionView::Template classes, enabling the use of layouts.

Co-authored-by: Felipe Sateler <fsateler@gmail.com>
2020-10-14 11:49:45 -06:00
..
erb Allow Erubi bufvar to be configured 2020-05-21 15:22:51 -05:00
form_helper Call method outside the loop 2019-12-27 15:13:44 -03:00
testing Support :any variants for FixtureResolver 2019-06-30 02:23:08 +09:00
active_model_helper_test.rb Raise deprecation for calling [:f] = 'b' or [:f] << 'b' 2019-03-31 22:59:12 +08:00
asset_tag_helper_test.rb ✂️ [ci skip] 2020-09-16 09:52:10 +09:00
atom_feed_helper_test.rb Auto-correct rubocop offences 2019-11-24 09:54:47 +09:00
capture_helper_test.rb
compiled_templates_test.rb Remove actionview tests which modify fixtures 2019-06-05 18:40:06 -07:00
controller_helper_test.rb
csp_helper_test.rb
csrf_helper_test.rb form_authenticity_token takes keyword arguments 2019-09-15 03:05:52 +09:00
date_helper_i18n_test.rb This test needs integer core ext for time 2019-08-02 01:16:50 -04:00
date_helper_test.rb Add label attribute to <option> from include_blank 2020-07-24 15:45:18 -05:00
dependency_tracker_test.rb Ignore interpolated strings in DependencyTracker 2020-04-27 10:10:45 -07:00
digestor_test.rb
erb_util_test.rb
fallback_file_system_resolver_test.rb Deprecate rendering templates with . in the name 2020-05-05 23:21:17 -07:00
file_system_resolver_test.rb Add tests against resolver 2019-04-11 17:09:00 -07:00
form_collections_helper_test.rb
form_helper_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
form_options_helper_i18n_test.rb
form_options_helper_test.rb Add label attribute to <option> from include_blank 2020-07-24 15:45:18 -05:00
form_tag_helper_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
html_test.rb
javascript_helper_test.rb Fix possible XSS vector in JS escape helper 2020-03-19 09:48:08 -07:00
log_subscriber_test.rb ✂️ [ci skip] 2020-09-16 09:52:10 +09:00
lookup_context_test.rb Mostly remove bad test 2020-02-24 16:20:33 -08:00
number_helper_test.rb
optimized_file_system_resolver_test.rb Add tests against resolver 2019-04-11 17:09:00 -07:00
output_safety_helper_test.rb Suppress Ruby warning: ⚠️ non-nil $, will be deprecated 2019-07-29 12:55:28 +09:00
partial_iteration_test.rb fix require 2020-02-27 14:12:09 -08:00
record_identifier_test.rb
render_test.rb Include layout when rendering objects from controllers 2020-10-14 11:49:45 -06:00
resolver_cache_test.rb
resolver_patterns_test.rb
resolver_shared_tests.rb Introduce Resolver::PathParser 2020-05-19 18:55:10 -07:00
sanitize_helper_test.rb
streaming_render_test.rb Introduce Template::File as new render file: 2019-03-27 15:51:25 -07:00
tag_helper_test.rb Ensure tag.with_options({}).p builds a <p> 2020-10-05 18:41:49 -04:00
template_error_test.rb Empty array instead of nil for source_extract 2019-07-14 15:04:25 -04:00
template_test.rb Remove redundant @virtual_path variable 2020-05-26 15:53:11 -04:00
test_case_test.rb Use unique controller per ActionView::TestCase 2020-09-02 15:55:01 -07:00
test_test.rb
text_helper_test.rb Passing in a Hash instance as kwargs parameters requires the "double splat" prefix 2019-09-05 13:26:58 +09:00
text_test.rb
translation_helper_test.rb Improve Action View translate helper 2020-09-16 10:18:54 -05:00
url_helper_test.rb Merge pull request #25214 from maclover7/jm-av-tests 2019-12-18 12:23:11 -03:00