diff options
author | Akira Matsuda <ronnie@dio.jp> | 2016-12-23 20:31:57 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2016-12-24 00:22:29 +0900 |
commit | 3fe6a5d5104d51d4e1365b36f5d59b59c17bc462 (patch) | |
tree | 2c475847cfbd6ca5e13e04d53971cc1a334291cd /activesupport/test/notifications_test.rb | |
parent | 10fb7211bb4e7df5b796da489df8b056b95178d4 (diff) | |
download | rails-3fe6a5d5104d51d4e1365b36f5d59b59c17bc462.tar.gz rails-3fe6a5d5104d51d4e1365b36f5d59b59c17bc462.tar.bz2 rails-3fe6a5d5104d51d4e1365b36f5d59b59c17bc462.zip |
Privatize unneededly protected methods in Active Support tests
Diffstat (limited to 'activesupport/test/notifications_test.rb')
-rw-r--r-- | activesupport/test/notifications_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/notifications_test.rb b/activesupport/test/notifications_test.rb index a6f0d82e8a..11f743519f 100644 --- a/activesupport/test/notifications_test.rb +++ b/activesupport/test/notifications_test.rb @@ -273,7 +273,7 @@ module Notifications assert !not_child.parent_of?(parent) end - protected + private def random_id @random_id ||= SecureRandom.hex(10) end |