aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/MIT-LICENSE
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-19 08:47:06 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-19 08:47:09 -0200
commitd799b9c1cf888a528d062cd44903cf2e0ce34a2c (patch)
treec8637c8790288f00846f452da2554ace84be7316 /actionpack/MIT-LICENSE
parent813ab76788206ded84cb25e6cd3c259a399ba565 (diff)
downloadrails-d799b9c1cf888a528d062cd44903cf2e0ce34a2c.tar.gz
rails-d799b9c1cf888a528d062cd44903cf2e0ce34a2c.tar.bz2
rails-d799b9c1cf888a528d062cd44903cf2e0ce34a2c.zip
Fix asserting the correct exception message in dependencies test
In Minitest, the second argument of assert_raise(s) accepts a string as the message that should be shown in case of a failure in the assertion (eg nothing was raised when it should), and not the exception message to be matched. To do that we need to save the exception returned from assert_raise(s) into a local variable and check for the exception message using it.
Diffstat (limited to 'actionpack/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions