aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-07-05 12:17:10 -0400
committerGitHub <noreply@github.com>2017-07-05 12:17:10 -0400
commitfed2557e3038f7747fc716b166e68b80a88d1ee1 (patch)
tree5db3396533c1814866d03cc097909aedb65073a0 /activesupport/test
parent019238385cae6bc0454155c0c4bf23325d9a6204 (diff)
parent6bb115a6617b320b8ff13a4561ddf8d1a9b44f82 (diff)
downloadrails-fed2557e3038f7747fc716b166e68b80a88d1ee1.tar.gz
rails-fed2557e3038f7747fc716b166e68b80a88d1ee1.tar.bz2
rails-fed2557e3038f7747fc716b166e68b80a88d1ee1.zip
Merge pull request #29690 from kamipo/fix_warnings
Fix warning: `*' interpreted as argument prefix
Diffstat (limited to 'activesupport/test')
-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"))