aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-01-29 21:22:15 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-01-29 21:24:36 -0200
commit06e06cd454f3699d970c7dc8404170ac236c7743 (patch)
tree4e00aca1d2b3261c698387df3e2a2a2eb49c4843 /activesupport/lib/active_support/testing
parent17cb1266c7b91c934dcef2afe38ea4dab677ef91 (diff)
downloadrails-06e06cd454f3699d970c7dc8404170ac236c7743.tar.gz
rails-06e06cd454f3699d970c7dc8404170ac236c7743.tar.bz2
rails-06e06cd454f3699d970c7dc8404170ac236c7743.zip
Use each_value
Diffstat (limited to 'activesupport/lib/active_support/testing')
-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 = {}