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.
8.2 KiB
8.2 KiB