By the way, I was unable to make the assertion that logger was called inside the decode_status method in this case.  Now, it's changed to :info and not :warn, but still, I couldn't get spec to understand this, so I left it commented here in case anyone has a suggestion of what I should have done differently.