I think you can simplify all of this to:

``` ruby
raise_error(RSpec::Expectations::ExpectationNotMetError, a_string_matching(message))
```