I am running Rails 6.0.3.4. When I run the command rails generate integration_test test_name, I get just the following output:
Running via Spring preloader in process 31461
According to the Rails Testing Guide, this command should create a test/integration directory and add a test file to that directory. The only fix I can find for this on Stack Overflow involves adding RSpec, which does in fact cause the command to work, but it generates an RSpec test file which I don't want. How do I get the generator to properly generate the ActionDispatch::IntegrationTest class file shown in the guide?
Aucun commentaire:
Enregistrer un commentaire