diff options
author | Earl St Sauver <estsauver@gmail.com> | 2014-04-29 18:26:16 -0700 |
---|---|---|
committer | Earl St Sauver <estsauver@gmail.com> | 2014-04-29 18:34:56 -0700 |
commit | 31c3eec05d2ad50f93f3e7a7bc30ec33f2a5c768 (patch) | |
tree | 0a2c4681b3c18babebfdc576d4017e49cbdd8daa /actionpack/lib/action_pack.rb | |
parent | 7b493d40eff924e76e23804adae7b711140e5082 (diff) | |
download | rails-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/action_pack.rb')
0 files changed, 0 insertions, 0 deletions