In looking at it - probably better just to use the built in rspec matcher, derr.