aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-07-23 00:36:34 -0300
committerJosé Valim <jose.valim@gmail.com>2010-07-24 01:19:44 +0200
commite1d4e78b15141cf940be7a84ca856425484a98be (patch)
treebeeb97f6667df9c003d915ddac08d29fb9ded8e0 /activesupport/lib/active_support/testing
parent80cf6559ed0f35cc525c9f2f90cf483033f6dad7 (diff)
downloadrails-e1d4e78b15141cf940be7a84ca856425484a98be.tar.gz
rails-e1d4e78b15141cf940be7a84ca856425484a98be.tar.bz2
rails-e1d4e78b15141cf940be7a84ca856425484a98be.zip
Removes unused vars
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activesupport/lib/active_support/testing')
-rw-r--r--activesupport/lib/active_support/testing/setup_and_teardown.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/setup_and_teardown.rb b/activesupport/lib/active_support/testing/setup_and_teardown.rb
index d8942c3974..b2d9ddfeb7 100644
--- a/activesupport/lib/active_support/testing/setup_and_teardown.rb
+++ b/activesupport/lib/active_support/testing/setup_and_teardown.rb
@@ -96,7 +96,7 @@ module ActiveSupport
protected
def retrieve_mocha_counter(result) #:nodoc:
- if using_mocha = respond_to?(:mocha_verify)
+ if respond_to?(:mocha_verify) # using mocha
if defined?(Mocha::TestCaseAdapter::AssertionCounter)
Mocha::TestCaseAdapter::AssertionCounter.new(result)
else