aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_load_nested_include_test.rb
diff options
context:
space:
mode:
authorMark Rushakoff <mark.rushakoff@gmail.com>2012-04-29 10:02:58 -0700
committerMark Rushakoff <mark.rushakoff@gmail.com>2012-04-29 10:02:58 -0700
commit140b825bdab42eaf535c9847a516773eed27ee6b (patch)
tree317709ce6f90198c5277a75609684fad62002332 /activerecord/test/cases/associations/eager_load_nested_include_test.rb
parent8c2cf1ad1bbb63cab4b503724465d70154f6aab0 (diff)
downloadrails-140b825bdab42eaf535c9847a516773eed27ee6b.tar.gz
rails-140b825bdab42eaf535c9847a516773eed27ee6b.tar.bz2
rails-140b825bdab42eaf535c9847a516773eed27ee6b.zip
Remove unused assignments from activerecord tests
Diffstat (limited to 'activerecord/test/cases/associations/eager_load_nested_include_test.rb')
-rw-r--r--activerecord/test/cases/associations/eager_load_nested_include_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/eager_load_nested_include_test.rb b/activerecord/test/cases/associations/eager_load_nested_include_test.rb
index 861a395c58..bb0d6bc70b 100644
--- a/activerecord/test/cases/associations/eager_load_nested_include_test.rb
+++ b/activerecord/test/cases/associations/eager_load_nested_include_test.rb
@@ -92,7 +92,6 @@ class EagerLoadPolyAssocsTest < ActiveRecord::TestCase
end
def test_include_query
- res = 0
res = ShapeExpression.scoped(:includes => [ :shape, { :paint => :non_poly } ]).all
assert_equal NUM_SHAPE_EXPRESSIONS, res.size
assert_queries(0) do