mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix AS test suite.
This commit is contained in:
@@ -40,6 +40,7 @@ module ActiveSupport
|
||||
|
||||
def flush
|
||||
@tags.delete(Thread.current)
|
||||
@logger.flush if @logger.respond_to?(:flush)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
|
||||
@@ -43,6 +43,7 @@ class BufferedLoggerTest < Test::Unit::TestCase
|
||||
|
||||
def test_write_binary_data_create_file
|
||||
fname = File.join Dir.tmpdir, 'lol', 'rofl.log'
|
||||
FileUtils.mkdir_p File.dirname(fname)
|
||||
f = File.open(fname, 'w')
|
||||
f.binmode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user