diff options
author | Richard Schneeman <richard.schneeman@gmail.com> | 2015-12-20 08:43:32 -0600 |
---|---|---|
committer | Richard Schneeman <richard.schneeman@gmail.com> | 2015-12-20 08:43:32 -0600 |
commit | fb44e217ef67498cf8e5422454b1bc72bfd77417 (patch) | |
tree | afded1be9c950c909a5076e2fc7b560c9a366a0f | |
parent | b691d62be9357fddeca6a2ab247a423d0a4ce7ab (diff) | |
parent | 912093d01e8abb8381c9b707f20c04eda987495d (diff) | |
download | rails-fb44e217ef67498cf8e5422454b1bc72bfd77417.tar.gz rails-fb44e217ef67498cf8e5422454b1bc72bfd77417.tar.bz2 rails-fb44e217ef67498cf8e5422454b1bc72bfd77417.zip |
Merge pull request #22707 from yui-knk/fix_warning
Suppress warning ambiguous first argument
-rw-r--r-- | activesupport/test/caching_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/caching_test.rb b/activesupport/test/caching_test.rb index 465b943173..2701dc2fe9 100644 --- a/activesupport/test/caching_test.rb +++ b/activesupport/test/caching_test.rb @@ -509,7 +509,7 @@ module CacheStoreBehavior 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") {} |