Yes... I hadn't worked with ruby mocking/stubbing before but it was easier than I thought. I also added logging when authentication succeeds but the user isn't auto-created.

Is that better?