diff options
author | eileencodes <eileencodes@gmail.com> | 2017-07-08 11:08:03 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2017-07-08 11:13:28 -0400 |
commit | 91d22b783275474464a03f6487f5c28b5dc803b3 (patch) | |
tree | 797cf240a7532af1c439c903db1e47e2d855e230 /actionview/lib | |
parent | a136c291ed29953787e8218137c01eadf6da63a8 (diff) | |
download | rails-91d22b783275474464a03f6487f5c28b5dc803b3.tar.gz rails-91d22b783275474464a03f6487f5c28b5dc803b3.tar.bz2 rails-91d22b783275474464a03f6487f5c28b5dc803b3.zip |
Don't call register on custom drivers
It's possible for developers toadd a custom driver and then call it
using `driven_by`. Because we were only skipping `register` for
`:rack_test` that meant any custom driver would attempt to be registered
as well.
The three listed here are special because Rails registers them with
special options. If you're registering your own custom driver then you
don't want to separately register that driver.
Fixes #29688
Diffstat (limited to 'actionview/lib')
0 files changed, 0 insertions, 0 deletions