aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-05-28 00:37:21 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-05-28 00:37:21 -0300
commitadd9500eb8d373407bf379d5ab8d833a055a07cd (patch)
tree9c870fb5e197f0ae775218a56680b5951de3ba2b /activerecord
parent57daaef86ae676567ce67f2be60ca8607fb9182b (diff)
downloadrails-add9500eb8d373407bf379d5ab8d833a055a07cd.tar.gz
rails-add9500eb8d373407bf379d5ab8d833a055a07cd.tar.bz2
rails-add9500eb8d373407bf379d5ab8d833a055a07cd.zip
Add test to 57daaef
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/relation/delegation_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/relation/delegation_test.rb b/activerecord/test/cases/relation/delegation_test.rb
index 29c9d0e2af..989f4e1e5d 100644
--- a/activerecord/test/cases/relation/delegation_test.rb
+++ b/activerecord/test/cases/relation/delegation_test.rb
@@ -28,7 +28,7 @@ module ActiveRecord
module DelegationWhitelistBlacklistTests
ARRAY_DELEGATES = [
:+, :-, :|, :&, :[],
- :all?, :collect, :detect, :each, :each_cons, :each_with_index,
+ :all?, :collect, :compact, :detect, :each, :each_cons, :each_with_index,
:exclude?, :find_all, :flat_map, :group_by, :include?, :length,
:map, :none?, :one?, :partition, :reject, :reverse,
:sample, :second, :sort, :sort_by, :third,