Skip to content

Commit

Permalink
Merge pull request #25867 from kamipo/no_need_public_send
Browse files Browse the repository at this point in the history
No need `public_send`
  • Loading branch information
matthewd committed Jul 17, 2016
2 parents 9a1ab66 + 4985947 commit 849f796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/test/cases/relation/mutation_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def relation
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
Expand Down

0 comments on commit 849f796

Please sign in to comment.