aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/descendants_tracker_test.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-06-20 23:29:37 +0200
committerXavier Noria <fxn@hashref.com>2010-06-20 23:29:37 +0200
commit69fec3ab3fe1135ba949514b482c43ae659a3fa9 (patch)
tree9ca355f7608b80f4618d6b2ed593e201160edb00 /activesupport/test/descendants_tracker_test.rb
parent207fa59675cb624dde0e01c1d57597f752cdf095 (diff)
downloadrails-69fec3ab3fe1135ba949514b482c43ae659a3fa9.tar.gz
rails-69fec3ab3fe1135ba949514b482c43ae659a3fa9.tar.bz2
rails-69fec3ab3fe1135ba949514b482c43ae659a3fa9.zip
adds parens to silence a warning in the test suite of AS
Diffstat (limited to 'activesupport/test/descendants_tracker_test.rb')
-rw-r--r--activesupport/test/descendants_tracker_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/descendants_tracker_test.rb b/activesupport/test/descendants_tracker_test.rb
index 3a424180de..ff24e310de 100644
--- a/activesupport/test/descendants_tracker_test.rb
+++ b/activesupport/test/descendants_tracker_test.rb
@@ -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