rails/rails — pull request #11993 by razielgn (2013-08-23 07:59:38+00:00)
Title: Use NameError#name to assert raised error.

This makes the test compatible with other Ruby implementations, which may implement error messages differently.