diff options
author | Piotr Chmolowski <piotr@chmolowski.pl> | 2014-03-08 23:09:54 +0100 |
---|---|---|
committer | Piotr Chmolowski <piotr@chmolowski.pl> | 2014-03-09 08:47:17 +0100 |
commit | 025c691536b22cc3f0ba802f6c303dd6f955c1c3 (patch) | |
tree | 05f18a57f6c48db8528f08bed3cac3096be91f6b /actionview/test/activerecord/controller_runtime_test.rb | |
parent | 45efd0ebf77811e43cebc68400c24652133a0f99 (diff) | |
download | rails-025c691536b22cc3f0ba802f6c303dd6f955c1c3.tar.gz rails-025c691536b22cc3f0ba802f6c303dd6f955c1c3.tar.bz2 rails-025c691536b22cc3f0ba802f6c303dd6f955c1c3.zip |
Ensure LookupContext in Digestor selects correct variant
Related to: #14242 #14243 14293
Variants passed to LookupContext#find() seem to be ignored, so
I've used the setter instead: `finder.variants = [ variant ]`.
I've also added some more test cases for variants. Hopefully this
time passing tests will mean it actually works.
Diffstat (limited to 'actionview/test/activerecord/controller_runtime_test.rb')
0 files changed, 0 insertions, 0 deletions