If you want to get away from having to escape the parens you could pass a matcher for that arg:

``` ruby
expect {
  o.defined_private_method
}.to raise_error(NoMethodError, a_string_including('Double "LoadedClass (instance)"'))
```

I don't have much preference though.