1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Resolve test name conflict.

Rename the second of the two
`test_haml_tag_name_and_attribute_classes_merging` tests so it doesn't
override the first.

Swap order of expected classes so that it passes.
This commit is contained in:
Matt Wildig 2012-05-25 00:14:48 +01:00 committed by Norman Clarke
parent e1510319a4
commit f0e16d2ebd

View file

@ -245,8 +245,8 @@ HAML
assert_equal("<p class='foo bar' id='some_id'></p>\n", render("- haml_tag 'p.foo.bar#some_id'"))
end
def test_haml_tag_name_and_attribute_classes_merging
assert_equal("<p class='foo bar' id='some_id'></p>\n", render("- haml_tag 'p#some_id.foo', :class => 'bar'"))
def test_haml_tag_name_and_attribute_classes_merging_with_id
assert_equal("<p class='bar foo' id='some_id'></p>\n", render("- haml_tag 'p#some_id.foo', :class => 'bar'"))
end
def test_haml_tag_name_and_attribute_classes_merging