aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@github.com>2019-02-26 11:03:46 -0800
committerGitHub <noreply@github.com>2019-02-26 11:03:46 -0800
commit383efb0138a8e8b69c85d787fae5fc28e214e6a3 (patch)
treeff71d847c92f379b08796189559ddae7621669b1 /actionpack
parentd333d85254d27cd572e6ecce8ee850c107a4f340 (diff)
parent082130d1d43620ca29c2f2f169a5059fa0065a8c (diff)
downloadrails-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 'actionpack')
-rw-r--r--actionpack/test/dispatch/debug_exceptions_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/debug_exceptions_test.rb b/actionpack/test/dispatch/debug_exceptions_test.rb
index c33b0e1c14..c85476fa38 100644
--- a/actionpack/test/dispatch/debug_exceptions_test.rb
+++ b/actionpack/test/dispatch/debug_exceptions_test.rb
@@ -39,7 +39,7 @@ class DebugExceptionsTest < ActionDispatch::IntegrationTest
def call(env)
env["action_dispatch.show_detailed_exceptions"] = @detailed
req = ActionDispatch::Request.new(env)
- template = ActionView::Template.new(File.read(__FILE__), __FILE__, ActionView::Template::Handlers::Raw.new, format: :html)
+ template = ActionView::Template.new(File.read(__FILE__), __FILE__, ActionView::Template::Handlers::Raw.new, format: :html, locals: [])
case req.path
when "/pass"