Fix broken spec.

The spec was busted because it was seeing the wrong error. Fixed the call and expectation.