Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix AS test suite.

  • Loading branch information...
commit cd7fbcbba82c08aeaac791e4d8ff3f789e628b3b 1 parent aace38a
José Valim josevalim authored
1  activesupport/lib/active_support/tagged_logging.rb
View
@@ -40,6 +40,7 @@ def #{severity}(progname = nil, &block)
def flush
@tags.delete(Thread.current)
+ @logger.flush if @logger.respond_to?(:flush)
end
def method_missing(method, *args)
1  activesupport/test/buffered_logger_test.rb
View
@@ -43,6 +43,7 @@ def test_write_binary_data_to_existing_file
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
Please sign in to comment.
Something went wrong with that request. Please try again.