Skip to content

Commit

Permalink
Fix test rendering unmarked but safe HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed May 23, 2010
1 parent e3f14d1 commit ca5f5d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/test/view/test_case_test.rb
Expand Up @@ -159,7 +159,7 @@ def from_test_case; 'Word!'; end
class AssertionsTest < ActionView::TestCase
def render_from_helper
form_tag('/foo') do
concat render(:text => '<ul><li>foo</li></ul>')
concat render(:text => '<ul><li>foo</li></ul>'.html_safe)
end
end
helper_method :render_from_helper
Expand All @@ -173,4 +173,4 @@ def render_from_helper
end
end
end
end
end

0 comments on commit ca5f5d9

Please sign in to comment.