`assert_raise` returns the exception:

```ruby
exception = assert_raise(ZomgException) { do_foo }
assert_match %r{ZOMG}, exception.message
```

So you can test the message as you wish.