From 3cc35bed7a976911c2e80725185303c44a11a9b9 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 26 Aug 2015 11:42:41 -0700 Subject: include ActionView::Rendering in the minimal controller without this module, the content type is not set correctly --- actionpack/test/controller/new_base/render_html_test.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/test/controller') diff --git a/actionpack/test/controller/new_base/render_html_test.rb b/actionpack/test/controller/new_base/render_html_test.rb index e9ea57e329..49c1b67d04 100644 --- a/actionpack/test/controller/new_base/render_html_test.rb +++ b/actionpack/test/controller/new_base/render_html_test.rb @@ -4,6 +4,7 @@ module RenderHtml class MinimalController < ActionController::Metal include AbstractController::Rendering include ActionController::Rendering + include ActionView::Rendering def index render html: "Hello World!" -- cgit v1.2.3