@@ -632,6 +632,124 @@ def determine_layout
632
632
class RenderTest < ActionController ::TestCase
633
633
tests TestController
634
634
635
+ with_routes do
636
+ get :"hyphen-ated" , to : "test#hyphen-ated"
637
+ get :accessing_action_name_in_template , to : "test#accessing_action_name_in_template"
638
+ get :accessing_controller_name_in_template , to : "test#accessing_controller_name_in_template"
639
+ get :accessing_local_assigns_in_inline_template , to : "test#accessing_local_assigns_in_inline_template"
640
+ get :accessing_logger_in_template , to : "test#accessing_logger_in_template"
641
+ get :accessing_params_in_template , to : "test#accessing_params_in_template"
642
+ get :accessing_params_in_template_with_layout , to : "test#accessing_params_in_template_with_layout"
643
+ get :accessing_request_in_template , to : "test#accessing_request_in_template"
644
+ get :action_talk_to_layout , to : "test#action_talk_to_layout"
645
+ get :builder_layout_test , to : "test#builder_layout_test"
646
+ get :builder_partial_test , to : "test#builder_partial_test"
647
+ get :clone , to : "test#clone"
648
+ get :determine_layout , to : "test#determine_layout"
649
+ get :double_redirect , to : "test#double_redirect"
650
+ get :double_render , to : "test#double_render"
651
+ get :empty_partial_collection , to : "test#empty_partial_collection"
652
+ get :formatted_html_erb , to : "test#formatted_html_erb"
653
+ get :formatted_xml_erb , to : "test#formatted_xml_erb"
654
+ get :greeting , to : "test#greeting"
655
+ get :hello_in_a_string , to : "test#hello_in_a_string"
656
+ get :hello_world , to : "fun/games#hello_world"
657
+ get :hello_world , to : "test#hello_world"
658
+ get :hello_world_file , to : "test#hello_world_file"
659
+ get :hello_world_from_rxml_using_action , to : "test#hello_world_from_rxml_using_action"
660
+ get :hello_world_from_rxml_using_template , to : "test#hello_world_from_rxml_using_template"
661
+ get :hello_world_with_layout_false , to : "test#hello_world_with_layout_false"
662
+ get :layout_overriding_layout , to : "test#layout_overriding_layout"
663
+ get :layout_test , to : "test#layout_test"
664
+ get :layout_test_with_different_layout , to : "test#layout_test_with_different_layout"
665
+ get :layout_test_with_different_layout_and_string_action , to : "test#layout_test_with_different_layout_and_string_action"
666
+ get :layout_test_with_different_layout_and_symbol_action , to : "test#layout_test_with_different_layout_and_symbol_action"
667
+ get :missing_partial , to : "test#missing_partial"
668
+ get :nested_partial_with_form_builder , to : "fun/games#nested_partial_with_form_builder"
669
+ get :new , to : "quiz/questions#new"
670
+ get :partial , to : "test#partial"
671
+ get :partial_collection , to : "test#partial_collection"
672
+ get :partial_collection_shorthand_with_different_types_of_records , to : "test#partial_collection_shorthand_with_different_types_of_records"
673
+ get :partial_collection_shorthand_with_locals , to : "test#partial_collection_shorthand_with_locals"
674
+ get :partial_collection_with_as , to : "test#partial_collection_with_as"
675
+ get :partial_collection_with_as_and_counter , to : "test#partial_collection_with_as_and_counter"
676
+ get :partial_collection_with_as_and_iteration , to : "test#partial_collection_with_as_and_iteration"
677
+ get :partial_collection_with_counter , to : "test#partial_collection_with_counter"
678
+ get :partial_collection_with_iteration , to : "test#partial_collection_with_iteration"
679
+ get :partial_collection_with_locals , to : "test#partial_collection_with_locals"
680
+ get :partial_collection_with_spacer , to : "test#partial_collection_with_spacer"
681
+ get :partial_collection_with_spacer_which_uses_render , to : "test#partial_collection_with_spacer_which_uses_render"
682
+ get :partial_formats_html , to : "test#partial_formats_html"
683
+ get :partial_hash_collection , to : "test#partial_hash_collection"
684
+ get :partial_hash_collection_with_locals , to : "test#partial_hash_collection_with_locals"
685
+ get :partial_html_erb , to : "test#partial_html_erb"
686
+ get :partial_only , to : "test#partial_only"
687
+ get :partial_with_counter , to : "test#partial_with_counter"
688
+ get :partial_with_form_builder , to : "test#partial_with_form_builder"
689
+ get :partial_with_form_builder_subclass , to : "test#partial_with_form_builder_subclass"
690
+ get :partial_with_hash_object , to : "test#partial_with_hash_object"
691
+ get :partial_with_locals , to : "test#partial_with_locals"
692
+ get :partial_with_nested_object , to : "test#partial_with_nested_object"
693
+ get :partial_with_nested_object_shorthand , to : "test#partial_with_nested_object_shorthand"
694
+ get :partial_with_string_locals , to : "test#partial_with_string_locals"
695
+ get :partials_list , to : "test#partials_list"
696
+ get :render_action_hello_world , to : "test#render_action_hello_world"
697
+ get :render_action_hello_world_as_string , to : "test#render_action_hello_world_as_string"
698
+ get :render_action_hello_world_with_symbol , to : "test#render_action_hello_world_with_symbol"
699
+ get :render_action_upcased_hello_world , to : "test#render_action_upcased_hello_world"
700
+ get :render_and_redirect , to : "test#render_and_redirect"
701
+ get :render_call_to_partial_with_layout , to : "test#render_call_to_partial_with_layout"
702
+ get :render_call_to_partial_with_layout_in_main_layout_and_within_content_for_layout , to : "test#render_call_to_partial_with_layout_in_main_layout_and_within_content_for_layout"
703
+ get :render_custom_code , to : "test#render_custom_code"
704
+ get :render_file_as_string_with_locals , to : "test#render_file_as_string_with_locals"
705
+ get :render_file_from_template , to : "test#render_file_from_template"
706
+ get :render_file_not_using_full_path , to : "test#render_file_not_using_full_path"
707
+ get :render_file_not_using_full_path_with_dot_in_path , to : "test#render_file_not_using_full_path_with_dot_in_path"
708
+ get :render_file_using_pathname , to : "test#render_file_using_pathname"
709
+ get :render_file_with_instance_variables , to : "test#render_file_with_instance_variables"
710
+ get :render_file_with_locals , to : "test#render_file_with_locals"
711
+ get :render_hello_world , to : "test#render_hello_world"
712
+ get :render_hello_world_from_variable , to : "test#render_hello_world_from_variable"
713
+ get :render_hello_world_with_forward_slash , to : "test#render_hello_world_with_forward_slash"
714
+ get :render_implicit_html_template_from_xhr_request , to : "test#render_implicit_html_template_from_xhr_request"
715
+ get :render_implicit_js_template_without_layout , to : "test#render_implicit_js_template_without_layout"
716
+ get :render_line_offset , to : "test#render_line_offset"
717
+ get :render_nothing_with_appendix , to : "test#render_nothing_with_appendix"
718
+ get :render_template_in_top_directory , to : "test#render_template_in_top_directory"
719
+ get :render_template_in_top_directory_with_slash , to : "test#render_template_in_top_directory_with_slash"
720
+ get :render_template_within_a_template_with_other_format , to : "test#render_template_within_a_template_with_other_format"
721
+ get :render_text_hello_world , to : "test#render_text_hello_world"
722
+ get :render_text_hello_world_with_layout , to : "test#render_text_hello_world_with_layout"
723
+ get :render_text_with_assigns , to : "test#render_text_with_assigns"
724
+ get :render_text_with_false , to : "test#render_text_with_false"
725
+ get :render_text_with_nil , to : "test#render_text_with_nil"
726
+ get :render_text_with_resource , to : "test#render_text_with_resource"
727
+ get :render_to_string_and_render , to : "test#render_to_string_and_render"
728
+ get :render_to_string_and_render_with_different_formats , to : "test#render_to_string_and_render_with_different_formats"
729
+ get :render_to_string_test , to : "test#render_to_string_test"
730
+ get :render_to_string_with_assigns , to : "test#render_to_string_with_assigns"
731
+ get :render_to_string_with_caught_exception , to : "test#render_to_string_with_caught_exception"
732
+ get :render_to_string_with_exception , to : "test#render_to_string_with_exception"
733
+ get :render_to_string_with_inline_and_render , to : "test#render_to_string_with_inline_and_render"
734
+ get :render_to_string_with_partial , to : "test#render_to_string_with_partial"
735
+ get :render_to_string_with_template_and_html_partial , to : "test#render_to_string_with_template_and_html_partial"
736
+ get :render_using_layout_around_block , to : "test#render_using_layout_around_block"
737
+ get :render_using_layout_around_block_in_main_layout_and_within_content_for_layout , to : "test#render_using_layout_around_block_in_main_layout_and_within_content_for_layout"
738
+ get :render_with_assigns_option , to : "test#render_with_assigns_option"
739
+ get :render_with_explicit_escaped_template , to : "test#render_with_explicit_escaped_template"
740
+ get :render_with_explicit_string_template , to : "test#render_with_explicit_string_template"
741
+ get :render_with_explicit_template , to : "test#render_with_explicit_template"
742
+ get :render_with_explicit_template_with_locals , to : "test#render_with_explicit_template_with_locals"
743
+ get :render_with_explicit_unescaped_template , to : "test#render_with_explicit_unescaped_template"
744
+ get :render_with_filters , to : "test#render_with_filters"
745
+ get :render_xml_hello , to : "test#render_xml_hello"
746
+ get :render_xml_hello_as_string_template , to : "test#render_xml_hello_as_string_template"
747
+ get :rendering_nothing_on_layout , to : "test#rendering_nothing_on_layout"
748
+ get :rendering_with_conflicting_local_vars , to : "test#rendering_with_conflicting_local_vars"
749
+ get :rendering_without_layout , to : "test#rendering_without_layout"
750
+ get :yield_content_for , to : "test#yield_content_for"
751
+ end
752
+
635
753
def setup
636
754
# enable a logger so that (e.g.) the benchmarking stuff runs, so we can get
637
755
# a more accurate simulation of what happens in "real life".
0 commit comments