In the book, it said
“The fixtures() directive loads the fixture data corresponding to the given model name into the corresponding database table before each test method in the test case is run.”.
But after I remove the code
fixtures :products, all tests still working.
Also, the default generated test in products_controller_test.rb, it used products(:one) without