Permalink
Browse files

squelch an unused variable warning

  • Loading branch information...
1 parent a03ab8c commit db3a6e6a7fc80e85afe239abf5d01aa30685c1c1 @tenderlove tenderlove committed Mar 23, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 activerecord/test/cases/counter_cache_test.rb
@@ -117,6 +117,7 @@ class ::SpecialReply < ::Reply
test "update other counters on parent destroy" do
david, joanna = dog_lovers(:david, :joanna)
+ joanna = joanna # squelch a warning
assert_difference 'joanna.reload.dogs_count', -1 do
david.destroy

0 comments on commit db3a6e6

Please sign in to comment.