diff options
author | Aaron Patterson <tenderlove@github.com> | 2019-02-25 13:14:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-25 13:14:59 -0800 |
commit | d1f68b50487ea1a8fc7f822973e2cc46d1288060 (patch) | |
tree | 4d300572bd347f8c20e93933eff9b7186a8fc3b3 /actionpack/test | |
parent | 5330a342852147ecd65a16f83bc51e688c8bb9eb (diff) | |
parent | 12ff6064d169366e554b11a25813d82701435253 (diff) | |
download | rails-d1f68b50487ea1a8fc7f822973e2cc46d1288060.tar.gz rails-d1f68b50487ea1a8fc7f822973e2cc46d1288060.tar.bz2 rails-d1f68b50487ea1a8fc7f822973e2cc46d1288060.zip |
Merge pull request #35404 from rails/no-nil-format-on-templates
No nil format on templates
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/debug_exceptions_test.rb | 2 |
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 6914fb66f9..c33b0e1c14 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, {}) + template = ActionView::Template.new(File.read(__FILE__), __FILE__, ActionView::Template::Handlers::Raw.new, format: :html) case req.path when "/pass" |