rails/rails — pull request #18118 by vipulnsward (2014-12-21 07:59:30+00:00)
Title: Validation test fixes

- Fixed unused variable
- Changed test to verify complete message instead of verifying if message contains text.