samedi 31 octobre 2020

How can i run "rails routes --expanded" exclusively in Rails6 Test Environment?

Below details are in reference of Rails 6.

I have created category controller using scaffold in the Test environment. Now I want to crosscheck all the routes and its URI using "rails routes --expanded" for Test Environment. How can i do that? As to run that command directly in terminal will give routes of development environment.

Kindly help me with that. I have already checked "rails console -e test" but its exclusively for irb of test env.

Thank you.

Aucun commentaire:

Enregistrer un commentaire