Typical Rails applications are glorified points of interaction with a database, so the idealized test pyramid (mostly unit tests) doesn't apply. Most real Rails tests are integration tests because they have to hit the database to exercise logic — embrace that rather than fighting to unit-test what Active Record is doing.