mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
"Use assert_nil if expecting nil. This will fail in minitest 6."
This commit is contained in:
parent
1f7a3b5847
commit
07898d4a43
1 changed files with 1 additions and 1 deletions
|
@ -1300,7 +1300,7 @@ HAML
|
||||||
|
|
||||||
def test_local_assigns_dont_modify_class
|
def test_local_assigns_dont_modify_class
|
||||||
assert_equal("bar\n", render("= foo", :locals => {:foo => 'bar'}))
|
assert_equal("bar\n", render("= foo", :locals => {:foo => 'bar'}))
|
||||||
assert_equal(nil, defined?(foo))
|
assert_nil(defined?(foo))
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_object_ref_with_nil_id
|
def test_object_ref_with_nil_id
|
||||||
|
|
Loading…
Reference in a new issue