diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-06-06 20:40:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-06 20:40:20 +0900 |
commit | 648144649a71310fc5950a2ffd6de7c284058108 (patch) | |
tree | f0e47c81742f4c1756de59deb1ffca1d2b9a61ed /activerecord/test | |
parent | 497256747905ad6bcea78b8d7e1e4458dc291d8c (diff) | |
parent | 00b3b68602159c7a6826cad721a4f7b2988832fc (diff) | |
download | rails-648144649a71310fc5950a2ffd6de7c284058108.tar.gz rails-648144649a71310fc5950a2ffd6de7c284058108.tar.bz2 rails-648144649a71310fc5950a2ffd6de7c284058108.zip |
Merge pull request #36426 from abhaynikam/bump-codeclimate-rubocop-version
Bump rubocop to 0.71
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/associations/eager_test.rb | 2 |
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 c270d60b2f..38723b6c19 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 |