I want to customize the controller test which is generated by rails g scaffold
. I found the template file at
After downloading it I made the changes I want to apply but have no idea in which directory I have to save it. Which one is the correct one so that I can use it in my Rails project?
Rails Version: 5.2
this is the proper place for Rails 7.2:
lib/templates/test_unit/scaffold/functional_test.rb.tt