diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-29 21:22:15 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-29 21:24:36 -0200 |
commit | 06e06cd454f3699d970c7dc8404170ac236c7743 (patch) | |
tree | 4e00aca1d2b3261c698387df3e2a2a2eb49c4843 /activesupport | |
parent | 17cb1266c7b91c934dcef2afe38ea4dab677ef91 (diff) | |
download | rails-06e06cd454f3699d970c7dc8404170ac236c7743.tar.gz rails-06e06cd454f3699d970c7dc8404170ac236c7743.tar.bz2 rails-06e06cd454f3699d970c7dc8404170ac236c7743.zip |
Use each_value
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/testing/time_helpers.rb | 2 |
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 = {} |