diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-07 12:07:49 +0000 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-07 15:34:30 +0300 |
commit | ee6bbe403c9ba35ed7184118a10997a4311a6558 (patch) | |
tree | f5b302e6b01ec9699e7ebea7fdd5b2880d550376 /activesupport/test | |
parent | 887c55c5653cfa750a1c2370c1a3590a596a68de (diff) | |
download | rails-ee6bbe403c9ba35ed7184118a10997a4311a6558.tar.gz rails-ee6bbe403c9ba35ed7184118a10997a4311a6558.tar.bz2 rails-ee6bbe403c9ba35ed7184118a10997a4311a6558.zip |
Add missing `require`
`activesupport/test/logger_test.rb` requires `tmpdir`.
`activesupport/test/multibyte_test_helpers.rb` requires
`filutils`, `open-uri`, and `tmpdir`.
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/logger_test.rb | 1 | ||||
-rw-r--r-- | activesupport/test/multibyte_test_helpers.rb | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/test/logger_test.rb b/activesupport/test/logger_test.rb index 5efbd10a7d..773b0daa1d 100644 --- a/activesupport/test/logger_test.rb +++ b/activesupport/test/logger_test.rb @@ -5,6 +5,7 @@ require "multibyte_test_helpers" require "stringio" require "fileutils" require "tempfile" +require "tmpdir" require "concurrent/atomics" class LoggerTest < ActiveSupport::TestCase diff --git a/activesupport/test/multibyte_test_helpers.rb b/activesupport/test/multibyte_test_helpers.rb index f7cf993100..98f36aa939 100644 --- a/activesupport/test/multibyte_test_helpers.rb +++ b/activesupport/test/multibyte_test_helpers.rb @@ -1,5 +1,9 @@ # frozen_string_literal: true +require "fileutils" +require "open-uri" +require "tmpdir" + module MultibyteTestHelpers class Downloader def self.download(from, to) |