We were only asserting that some code raised an error (ArgumentError), but we weren't asserting on the message, thus making the test's context hard to grasp. I added the error message in the assertion and reworded the test name a bit.
We were only asserting that some code raised an error (ArgumentError), but we weren't asserting on the message, thus making the test's context hard to grasp. I added the error message in the assertion and reworded the test name a bit.