Yeah, sorry, I was battling with Mocha, which I've never used. It was complaining about unexpected invocations, so I was just trying to make it work. I'm used to RSpec's built-in mocks. Let me change this with your proposed approach ;)