N+1 queries are quick to sneak in and can wreak havoc on performance. This approach will help you find them quickly, write the test, and preload correctly.
Compares unit testing with mock objects in googlemock to RSpec/Mocha, highlighting the differences for someone used to higher-level languages like Ruby.
Recently I ran into some trouble with the way I was trying to use the Mongoid gem. Eventually I realized that RSpec was filtering out parts of my backtrace.