Sha256: 114ec5bb8e8c1dc7f8e36d29343dd8315ef6c6d0fc92269a1965cda4fd123a82

Contents?: true

Size: 623 Bytes

Versions: 4

Compression:

Stored size: 623 Bytes

Contents

require 'simplecov'
SimpleCov.start do
  add_filter do |src|
    !(src.filename =~ /^#{SimpleCov.root}\/lib/)
  end
end

# needs to be after simplecov but before test/unit, because fluentd sets default
# encoding to ASCII-8BIT, but coverall might load git data which could contain a
# UTF-8 character
at_exit do
  Encoding.default_internal = 'UTF-8' if defined?(Encoding) && Encoding.respond_to?(:default_internal)
  Encoding.default_external = 'UTF-8' if defined?(Encoding) && Encoding.respond_to?(:default_external)
end

require 'test/unit'
require 'fluent/test'

require 'webmock/test_unit'
WebMock.disable_net_connect!

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fluent-plugin-elasticsearch-5.4.3 test/helper.rb
fluent-plugin-elasticsearch-5.4.2 test/helper.rb
fluent-plugin-elasticsearch-5.4.1 test/helper.rb
fluent-plugin-elasticsearch-5.4.0 test/helper.rb