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:
parent
e1510319a4
commit
f0e16d2ebd
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue