diff options
author | eileencodes <eileencodes@gmail.com> | 2015-08-08 10:27:23 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2015-08-08 10:38:09 -0400 |
commit | 12f08acbacf823041dae27afd1a1a1458bb1e3fa (patch) | |
tree | 2d56c2698f1683dfc4c29f15a543ab91b97ad7e4 /actionpack/test/dispatch/routing_test.rb | |
parent | e7dd9069ca24d29f1c781d940c4b22083e111c86 (diff) | |
download | rails-12f08acbacf823041dae27afd1a1a1458bb1e3fa.tar.gz rails-12f08acbacf823041dae27afd1a1a1458bb1e3fa.tar.bz2 rails-12f08acbacf823041dae27afd1a1a1458bb1e3fa.zip |
Fix deprecation warning in tests
Using the string version of the class reference is now deprecated when
referencing middleware. This should be written as a class not as a string.
Deprecation warning that this change fixes:
```
DEPRECATION WARNING: Passing strings or symbols to the middleware
builder is deprecated, please change
them to actual class references. For example:
"ActionDispatch::ShowExceptions" => ActionDispatch::ShowExceptions
```
Diffstat (limited to 'actionpack/test/dispatch/routing_test.rb')
0 files changed, 0 insertions, 0 deletions