diff options
author | Aaron Patterson <tenderlove@github.com> | 2019-02-26 11:03:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-26 11:03:46 -0800 |
commit | 383efb0138a8e8b69c85d787fae5fc28e214e6a3 (patch) | |
tree | ff71d847c92f379b08796189559ddae7621669b1 /actionview/test/actionpack | |
parent | d333d85254d27cd572e6ecce8ee850c107a4f340 (diff) | |
parent | 082130d1d43620ca29c2f2f169a5059fa0065a8c (diff) | |
download | rails-383efb0138a8e8b69c85d787fae5fc28e214e6a3.tar.gz rails-383efb0138a8e8b69c85d787fae5fc28e214e6a3.tar.bz2 rails-383efb0138a8e8b69c85d787fae5fc28e214e6a3.zip |
Merge pull request #35411 from rails/pass-locals-to-template
Pass locals in to the template object on construction
Diffstat (limited to 'actionview/test/actionpack')
-rw-r--r-- | actionview/test/actionpack/controller/view_paths_test.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actionview/test/actionpack/controller/view_paths_test.rb b/actionview/test/actionpack/controller/view_paths_test.rb index a7a58a78cc..4449d08496 100644 --- a/actionview/test/actionpack/controller/view_paths_test.rb +++ b/actionview/test/actionpack/controller/view_paths_test.rb @@ -143,8 +143,9 @@ class ViewLoadPathsTest < ActionController::TestCase "Decorated body", template.identifier, template.handler, - virtual_path: template.virtual_path, - format: template.format + virtual_path: template.virtual_path, + format: template.format, + locals: template.locals ) end end |