Summary
Let’s recap what we have learned throughout the chapter.
We'll cover the following...
In this chapter, we walked through many of the different layers and tools in Rails and saw how RSpec provides the ability to test those layers in isolation.
We learned about views, controllers, mailers, routing, and background jobs. Focused view tests are possible in Rails but overlap heavily with helper tests, logically placed in presenter objects and integration testing. Mailers and background jobs can also be tested ...