When testing errors raising, we must specify expected error name in order to prevent a potential false positive (since specs could raise a different error and then pass for an unexpected reason).
RSpec was launching a warning due to this.
These changes remove the warning.
When testing errors raising, we must specify expected error name in order to prevent a potential false positive (since specs could raise a different error and then pass for an unexpected reason).
RSpec was launching a warning due to this. These changes remove the warning.
Before:
After: