aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation/delegation_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-08-27 22:25:10 +0900
committerGitHub <noreply@github.com>2017-08-27 22:25:10 +0900
commit9fd6ccea03f97e9fe4d9ca48f0b90d7be3bc9d3b (patch)
tree3e2e244fe9a0cdd781797dc1ebacef1290c3e084 /activerecord/test/cases/relation/delegation_test.rb
parent7ff3bc125373c76e58f46463f6cff6dac15b15dd (diff)
downloadrails-9fd6ccea03f97e9fe4d9ca48f0b90d7be3bc9d3b.tar.gz
rails-9fd6ccea03f97e9fe4d9ca48f0b90d7be3bc9d3b.tar.bz2
rails-9fd6ccea03f97e9fe4d9ca48f0b90d7be3bc9d3b.zip
Should be appear deprecation message for every call (#29649)
Context: https://github.com/rails/rails/pull/29619#discussion_r125158589
Diffstat (limited to 'activerecord/test/cases/relation/delegation_test.rb')
-rw-r--r--activerecord/test/cases/relation/delegation_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/relation/delegation_test.rb b/activerecord/test/cases/relation/delegation_test.rb
index 8ffb9f163b..04d688ac53 100644
--- a/activerecord/test/cases/relation/delegation_test.rb
+++ b/activerecord/test/cases/relation/delegation_test.rb
@@ -32,6 +32,7 @@ module ActiveRecord
def test_deprecate_arel_delegation
AREL_METHODS.each do |method|
assert_deprecated { target.public_send(method) }
+ assert_deprecated { target.public_send(method) }
end
end
end