Allow have_runtime_error rspec expectation to accept a regexp for the message. This changes some of the error messages, but I think that is fine, and definitely worth the code simplification.
Allow have_runtime_error rspec expectation to accept a regexp for the message. This changes some of the error messages, but I think that is fine, and definitely worth the code simplification.