@@ -38,9 +38,9 @@ def failure_submit
3838 end
3939
4040 Rails . application . routes . append do
41- post '/success_form_test/:id' , to : 'form_test#success_submit' , as : 'success_form_test '
42- post '/success_form_test_with_transition/:id' , to : 'form_test#success_submit_with_transition' , as : 'success_form_test_with_transition '
43- post '/failure_form_test/:id' , to : 'form_test#failure_submit' , as : 'failure_form_test '
41+ post '/success_form_test/:id' , to : 'form_test#success_submit' , as : 'form_select_radio_spec_success_form_test '
42+ post '/success_form_test_with_transition/:id' , to : 'form_test#success_submit_with_transition' , as : 'form_select_radio_spec_success_form_test_with_transition '
43+ post '/failure_form_test/:id' , to : 'form_test#failure_submit' , as : 'form_select_radio_spec_failure_form_test '
4444 end
4545 Rails . application . reload_routes!
4646
@@ -67,7 +67,7 @@ def model_params
6767 end
6868
6969 Rails . application . routes . append do
70- post '/model_form_test' , to : 'model_form_test#model_submit' , as : 'model_form_test '
70+ post '/model_form_test' , to : 'model_form_test#model_submit' , as : 'form_select_radio_spec_model_form_test '
7171 end
7272 Rails . application . reload_routes!
7373 end
@@ -99,7 +99,7 @@ def form_config
9999 return {
100100 for : :my_object ,
101101 method : :post ,
102- path : :success_form_test_path ,
102+ path : :form_select_radio_spec_success_form_test_path ,
103103 params : {
104104 id : 42
105105 }
@@ -119,4 +119,4 @@ def form_config
119119
120120 end
121121
122- end
122+ end
0 commit comments