diff options
author | Kevin Deisz <kevin.deisz@gmail.com> | 2018-08-24 16:16:41 -0400 |
---|---|---|
committer | Kevin Deisz <kevin.deisz@gmail.com> | 2018-08-24 16:16:41 -0400 |
commit | 0efecd913c07104e8fba82d5044c1ad824af68d5 (patch) | |
tree | 077b4398346ab4b9906ef22ceb1bdf83eb1d64d3 /activerecord/test/cases/relation | |
parent | cac2bb7f44a6b8e240034d1de89a41fe0dd9f0ec (diff) | |
download | rails-0efecd913c07104e8fba82d5044c1ad824af68d5.tar.gz rails-0efecd913c07104e8fba82d5044c1ad824af68d5.tar.bz2 rails-0efecd913c07104e8fba82d5044c1ad824af68d5.zip |
Convert remaining usage of whitelist and blacklist
Diffstat (limited to 'activerecord/test/cases/relation')
-rw-r--r-- | activerecord/test/cases/relation/delegation_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/cases/relation/delegation_test.rb b/activerecord/test/cases/relation/delegation_test.rb index 3f3d41980c..da1b3cdb18 100644 --- a/activerecord/test/cases/relation/delegation_test.rb +++ b/activerecord/test/cases/relation/delegation_test.rb @@ -5,7 +5,7 @@ require "models/post" require "models/comment" module ActiveRecord - module DelegationWhitelistTests + module DelegationPermitListTests ARRAY_DELEGATES = [ :+, :-, :|, :&, :[], :shuffle, :all?, :collect, :compact, :detect, :each, :each_cons, :each_with_index, @@ -38,7 +38,7 @@ module ActiveRecord end class DelegationAssociationTest < ActiveRecord::TestCase - include DelegationWhitelistTests + include DelegationPermitListTests include DeprecatedArelDelegationTests def target @@ -47,7 +47,7 @@ module ActiveRecord end class DelegationRelationTest < ActiveRecord::TestCase - include DelegationWhitelistTests + include DelegationPermitListTests include DeprecatedArelDelegationTests def target |