Skip to content

Commit

Permalink
Fix html2haml tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Nov 29, 2008
1 parent a84533a commit 71316fc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/haml/html2haml_test.rb
Expand Up @@ -22,12 +22,10 @@ def test_multiple_class_names
end

def test_should_have_pretty_attributes
assert_equal_attributes('%input{ :type => "text", :name => "login" }/',
render('<input type="text" name="login" />'))
assert_equal_attributes('%meta{ "http-equiv" => "Content-Type", :content => "text/html" }/',
render('<meta http-equiv="Content-Type" content="text/html" />'))
assert_equal_attributes('%div{ "xml:lang" => "hr" }/',
render('<div xml:lang="hr" />'))
assert_equal_attributes('%input{ :type => "text", :name => "login" }',
render('<input type="text" name="login" />'))
assert_equal_attributes('%meta{ "http-equiv" => "Content-Type", :content => "text/html" }',
render('<meta http-equiv="Content-Type" content="text/html" />'))
end

def test_sqml_comment
Expand Down

0 comments on commit 71316fc

Please sign in to comment.