aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAbhay Nikam <nikam.abhay1@gmail.com>2019-06-06 11:08:19 +0530
committerAbhay Nikam <nikam.abhay1@gmail.com>2019-06-06 15:34:50 +0530
commit00b3b68602159c7a6826cad721a4f7b2988832fc (patch)
treebb85c844fd064390d20a8f91bb9ffcda8dbdf115 /activerecord
parentc4d8e057c540dd0ba424dcc5203db1c945b4b412 (diff)
downloadrails-00b3b68602159c7a6826cad721a4f7b2988832fc.tar.gz
rails-00b3b68602159c7a6826cad721a4f7b2988832fc.tar.bz2
rails-00b3b68602159c7a6826cad721a4f7b2988832fc.zip
Bump rubocop to 0.71
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/associations/eager_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/associations/eager_test.rb b/activerecord/test/cases/associations/eager_test.rb
index f7aad9d775..42af1ac8d8 100644
--- a/activerecord/test/cases/associations/eager_test.rb
+++ b/activerecord/test/cases/associations/eager_test.rb
@@ -789,7 +789,6 @@ class EagerAssociationTest < ActiveRecord::TestCase
.where("comments.body like 'Normal%' OR comments.#{QUOTED_TYPE}= 'SpecialComment'")
.references(:comments)
.scoping do
-
posts = authors(:david).posts.limit(2).to_a
assert_equal 2, posts.size
end
@@ -798,7 +797,6 @@ class EagerAssociationTest < ActiveRecord::TestCase
.where("authors.name = 'David' AND (comments.body like 'Normal%' OR comments.#{QUOTED_TYPE}= 'SpecialComment')")
.references(:authors, :comments)
.scoping do
-
count = Post.limit(2).count
assert_equal count, posts.size
end