aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/helpers.rb
diff options
context:
space:
mode:
authorEarl St Sauver <estsauver@gmail.com>2014-04-29 18:26:16 -0700
committerEarl St Sauver <estsauver@gmail.com>2014-04-29 18:34:56 -0700
commit31c3eec05d2ad50f93f3e7a7bc30ec33f2a5c768 (patch)
tree0a2c4681b3c18babebfdc576d4017e49cbdd8daa /actionpack/lib/abstract_controller/helpers.rb
parent7b493d40eff924e76e23804adae7b711140e5082 (diff)
downloadrails-31c3eec05d2ad50f93f3e7a7bc30ec33f2a5c768.tar.gz
rails-31c3eec05d2ad50f93f3e7a7bc30ec33f2a5c768.tar.bz2
rails-31c3eec05d2ad50f93f3e7a7bc30ec33f2a5c768.zip
Propagate test messages through assert_routing helper, Fixes #14908
assert_routing was not raising the message passed into the assertion violation that it raised. This change propagates messages through the on_fail error. This fixes this error: https://github.com/rails/rails/issues/14908 A test case for this issue is located here. https://github.com/estsauver/test14908 To see that test case fail in the example app, just run ruby -Itest test/controllers/guests_controller_test.rb
Diffstat (limited to 'actionpack/lib/abstract_controller/helpers.rb')
0 files changed, 0 insertions, 0 deletions