When I run rake test, it does not run the tests in the new folder that I created.
By default, Rails has this folder inside the test folder:

When I run the test, i.e. rake test, it checks the contents of the test folder.
I added an api folder inside the test folder.

The contents of the api folder are checked when I do this: rake test:run TEST=test/api/users_test.rb
But, when I just do rake test, it does not check the contents of the api folder. How to configure it?
source
share