aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation
diff options
context:
space:
mode:
authorkeepcosmos <keepcosmos@gmail.com>2017-08-23 17:42:21 +0900
committerkeepcosmos <keepcosmos@gmail.com>2017-08-24 09:54:24 +0900
commit39805720361f080a63c1febdbc62fe8246e39ec1 (patch)
tree7eff7b39effc754e78b5436532507dd12f25ff4a /activerecord/test/cases/relation
parent05d062a25bbf4b4e3f5a5e6ec5e4affcaccb4d57 (diff)
downloadrails-39805720361f080a63c1febdbc62fe8246e39ec1.tar.gz
rails-39805720361f080a63c1febdbc62fe8246e39ec1.tar.bz2
rails-39805720361f080a63c1febdbc62fe8246e39ec1.zip
Delegate :rindex, :slice, :rotate to 'records'
Diffstat (limited to 'activerecord/test/cases/relation')
-rw-r--r--activerecord/test/cases/relation/delegation_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/relation/delegation_test.rb b/activerecord/test/cases/relation/delegation_test.rb
index 3089aee959..6152b55b2b 100644
--- a/activerecord/test/cases/relation/delegation_test.rb
+++ b/activerecord/test/cases/relation/delegation_test.rb
@@ -10,8 +10,8 @@ module ActiveRecord
:+, :-, :|, :&, :[], :shuffle,
: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,
+ :map, :none?, :one?, :partition, :reject, :reverse, :rotate,
+ :sample, :second, :sort, :sort_by, :slice, :third, :index, :rindex,
:to_ary, :to_set, :to_xml, :to_yaml, :join,
:in_groups, :in_groups_of, :to_sentence, :to_formatted_s, :as_json
]