diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-07-17 21:14:01 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-07-17 21:14:01 +0900 |
commit | 4985947206cbbc961847e49aa85b926df9b2ea77 (patch) | |
tree | 7483b1490c4b2842157b637e08fe0ffb73c05715 /activerecord/test/cases | |
parent | 9a1ab6674477642b72cc1760bb7dd69c9a5d6705 (diff) | |
download | rails-4985947206cbbc961847e49aa85b926df9b2ea77.tar.gz rails-4985947206cbbc961847e49aa85b926df9b2ea77.tar.bz2 rails-4985947206cbbc961847e49aa85b926df9b2ea77.zip |
No need `public_send`
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/relation/mutation_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/relation/mutation_test.rb b/activerecord/test/cases/relation/mutation_test.rb index ffb2da7a26..36cb898010 100644 --- a/activerecord/test/cases/relation/mutation_test.rb +++ b/activerecord/test/cases/relation/mutation_test.rb @@ -44,8 +44,8 @@ module ActiveRecord end test "#_select!" do - assert relation.public_send("_select!", :foo).equal?(relation) - assert_equal [:foo], relation.public_send("select_values") + assert relation._select!(:foo).equal?(relation) + assert_equal [:foo], relation.select_values end test '#order!' do |