rails/rails — pull request #16749 by robin850 (2014-08-30 12:12:12+00:00)
Title: Rely on NameError#name instead of its error message

Hello,

This pull request simply avoids assertions against error messages as they may change in the future and are different across implementations.

Have a nice day.