aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/core_ext/module_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/module_test.rb b/activesupport/test/core_ext/module_test.rb
index cba60ef013..68bd5233bf 100644
--- a/activesupport/test/core_ext/module_test.rb
+++ b/activesupport/test/core_ext/module_test.rb
@@ -399,7 +399,7 @@ class ModuleTest < ActiveSupport::TestCase
@place = place
end
- private *delegate(:street, :city, to: :@place)
+ private(*delegate(:street, :city, to: :@place))
end
place = location.new(Somewhere.new("Such street", "Sad city"))
@@ -417,7 +417,7 @@ class ModuleTest < ActiveSupport::TestCase
@place = place
end
- private *delegate(:street, :city, to: :@place, prefix: :the)
+ private(*delegate(:street, :city, to: :@place, prefix: :the))
end
place = location.new(Somewhere.new("Such street", "Sad city"))