aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-07-30 23:35:30 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-07-30 23:41:19 -0300
commit29a6a17a11cd98f18ad46e882cc8f7fd669de59f (patch)
treed51028412a4065bc94ceafb67510627944430482 /activesupport/lib
parent811604f3f76294662854fbdbd3abc4e8e11d9685 (diff)
downloadrails-29a6a17a11cd98f18ad46e882cc8f7fd669de59f.tar.gz
rails-29a6a17a11cd98f18ad46e882cc8f7fd669de59f.tar.bz2
rails-29a6a17a11cd98f18ad46e882cc8f7fd669de59f.zip
Properly assert for the expected messages
The message passed to Minitest's assert_raise is used as output in case the assertion fails, but we can test against the exact message by using the actual exception object that is returned from the assert_raise call.
Diffstat (limited to 'activesupport/lib')
0 files changed, 0 insertions, 0 deletions