adds parens to silence a warning in the test suite of AS

This commit is contained in:
Xavier Noria
2010-06-20 23:29:37 +02:00
parent 207fa59675
commit 69fec3ab3f

View File

@@ -35,7 +35,7 @@ class DescendantsTrackerTest < Test::Unit::TestCase
end
def test_clear_with_autoloaded_parent_children_and_granchildren
mark_as_autoloaded *ALL do
mark_as_autoloaded(*ALL) do
ActiveSupport::DescendantsTracker.clear
assert ActiveSupport::DescendantsTracker.descendants.slice(*ALL).empty?
end