mirror of https://github.com/rails/rails
Merge pull request #51736 from maniSHarma7575/51689-remove-warning-from-render-test
[FIX] Remove warning for frozen string literal from the render test for action view
This commit is contained in:
commit
343e781884
|
@ -793,7 +793,7 @@ module RenderTestCases
|
|||
end
|
||||
|
||||
def test_render_mutate_string_literal
|
||||
assert_equal "foobar", @view.render(inline: "'foo' << 'bar'", type: :ruby)
|
||||
assert_equal "foobar", @view.render(inline: "+'foo' << 'bar'", type: :ruby)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue