In newer versions of RSpec, you should use "double" instead of "mock". The double indicates it's a "test double", meaning an object that doesn't mean much.