1
0
Fork 0
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:
Ryuta Kamizono 2016-07-17 21:14:01 +09:00
parent 9a1ab66744
commit 4985947206

View file

@ -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