As I mentioned in person, I think this would be more useful as:

``` ruby
job.failure['message'].should include(message_for_failure_number(11))
job.failure['message'].should_not include(message_for_failure_number(5))
```