Skip to content

Commit

Permalink
It seems that handler name has to be given in Symbol since Rails 7
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Jan 25, 2022
1 parent 0efd535 commit 337ed91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/string_template_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_locals
end

def test_render_partial
result = @view.render(template: 'main', handlers: 'string')
result = @view.render(template: 'main', handlers: :string)
assert_equal 'hello, world!', result.strip
end
end

0 comments on commit 337ed91

Please sign in to comment.