Writing effective tests is a necessary part of Ruby development. An effective test suite guides you towards maintainable code. It allows you to make major changes to your application and be confident that everything still works.
Testing Rails is a practical approach to learning testing. We'll discuss the tools and processes we use every day at thoughtbot, as well as common anti-patterns and solutions to real world problems with plenty of examples.
Really good introduction to all types of tests in Rails and tools that can be used for those purposes. It also gives a nice overview of testing best practices and anti patterns.
If like me, you're using Rspecs in your codebase, but without really understanding the "right" way to be building your tests, this book (guide) is a great place to start.
It really takes you from the very beginning and goes through everything that you pass through while creating tests.