Created
December 4, 2009 16:04
-
-
Save merbjedi/249103 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_content_tag_with_newlines | |
assert_equal(<<HTML, render(<<HAML, :action_view)) | |
<div class="foobar" id="barfoo">INNER</div> | |
HTML | |
= content_tag :div, | |
"INNER", | |
:class => "foobar", | |
:id => "barfoo" | |
HAML | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment