mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
No need public_send
This commit is contained in:
parent
9a1ab66744
commit
4985947206
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue