aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/erb/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/test/template/erb/helper.rb')
-rw-r--r--actionview/test/template/erb/helper.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/actionview/test/template/erb/helper.rb b/actionview/test/template/erb/helper.rb
index a1973068d5..57d6cb1be3 100644
--- a/actionview/test/template/erb/helper.rb
+++ b/actionview/test/template/erb/helper.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module ERBTest
class ViewContext
include ActionView::Helpers::UrlHelper
@@ -14,7 +16,7 @@ module ERBTest
class BlockTestCase < ActiveSupport::TestCase
def render_content(start, inside)
template = block_helper(start, inside)
- ActionView::Template::Handlers::Erubis.new(template).evaluate(ViewContext.new)
+ ActionView::Template::Handlers::ERB.erb_implementation.new(template).evaluate(ViewContext.new)
end
def block_helper(str, rest)