File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -811,16 +811,21 @@ def test_explicit_html_format_is_used_for_fragment_path
811
811
assert_not_cached cached_time
812
812
end
813
813
814
- def test_lambda_arity
814
+ def test_lambda_arity_with_cache_path
815
815
draw do
816
816
get "/action_caching_test/not_url_cache_path_no_args" , to : "action_caching_test#not_url_cache_path_no_args"
817
- get "/action_caching_test/with_layout_proc_param_no_args" , to : "action_caching_test#with_layout_proc_param_no_args"
818
817
end
819
818
820
819
get :not_url_cache_path_no_args
821
820
assert_response :success
822
821
assert !fragment_exist? ( "test.host/action_caching_test/not_url_cache_path_no_args" )
823
822
assert fragment_exist? ( "not_url_cache_path_no_args_key" )
823
+ end
824
+
825
+ def test_lambda_arity_with_layout
826
+ draw do
827
+ get "/action_caching_test/with_layout_proc_param_no_args" , to : "action_caching_test#with_layout_proc_param_no_args"
828
+ end
824
829
825
830
get :with_layout_proc_param_no_args , params : { title : "Request 1" , layout : "false" }
826
831
assert_response :success
You can’t perform that action at this time.
0 commit comments