If you use expect or expects here instead of stub you should get the should_receive for free.