diff options
author | Matthew Draper <matthew@trebex.net> | 2016-07-17 23:02:10 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-17 23:02:10 +0930 |
commit | 849f79671b9efc014dddaa87b9f83844859e339e (patch) | |
tree | 7483b1490c4b2842157b637e08fe0ffb73c05715 | |
parent | 9a1ab6674477642b72cc1760bb7dd69c9a5d6705 (diff) | |
parent | 4985947206cbbc961847e49aa85b926df9b2ea77 (diff) | |
download | rails-849f79671b9efc014dddaa87b9f83844859e339e.tar.gz rails-849f79671b9efc014dddaa87b9f83844859e339e.tar.bz2 rails-849f79671b9efc014dddaa87b9f83844859e339e.zip |
Merge pull request #25867 from kamipo/no_need_public_send
No need `public_send`
-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 |