Merge pull request #22707 from yui-knk/fix_warning

Suppress warning ambiguous first argument
This commit is contained in:
Richard Schneeman 2015-12-20 08:43:32 -06:00
commit fb44e217ef

@ -509,7 +509,7 @@ def test_cache_hit_instrumentation
def test_cache_miss_instrumentation
@events = []
ActiveSupport::Notifications.subscribe /^cache_(.*)\.active_support$/ do |*args|
ActiveSupport::Notifications.subscribe(/^cache_(.*)\.active_support$/) do |*args|
@events << ActiveSupport::Notifications::Event.new(*args)
end
assert_not @cache.fetch("bad_key") {}