aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activesupport/lib/active_support/testing/time_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/time_helpers.rb b/activesupport/lib/active_support/testing/time_helpers.rb
index 84cbdf9608..0ee6332d6f 100644
--- a/activesupport/lib/active_support/testing/time_helpers.rb
+++ b/activesupport/lib/active_support/testing/time_helpers.rb
@@ -23,7 +23,7 @@ module ActiveSupport
end
def unstub_all!
- @stubs.each do |_, stub|
+ @stubs.each_value do |stub|
unstub_object(stub)
end
@stubs = {}