rodjek/rspec-puppet — pull request #114 by richardc (2013-07-05 14:38:58+00:00)
Title: Improve the run matcher's and_raise_error

This patch makes the .and_raise_error method of the run matcher behave more like
the built-in rspec `raise_error` matcher.

As a side-effect it softens the requirement on the exception class raised
so that .and_raise_error(/foo/) can shortcut to matching any Exception
class with the correct message.