We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38d7915 + e578262 commit 63f0c64Copy full SHA for 63f0c64
activesupport/lib/active_support/testing/time_helpers.rb
@@ -2,7 +2,6 @@
2
3
require "active_support/core_ext/module/redefine_method"
4
require "active_support/core_ext/time/calculations"
5
-require "concurrent/map"
6
7
module ActiveSupport
8
module Testing
@@ -11,7 +10,7 @@ class SimpleStubs # :nodoc:
11
10
Stub = Struct.new(:object, :method_name, :original_method)
12
13
def initialize
14
- @stubs = Concurrent::Map.new { |h, k| h[k] = {} }
+ @stubs = Hash.new { |h, k| h[k] = {} }
15
end
16
17
# Stubs object.method_name with the given block
0 commit comments