Sha256: 0298960f627d0a3050b9121014606a934bdc7e0f5de7125359acf38eff353f1f

Contents?: true

Size: 709 Bytes

Versions: 5

Compression:

Stored size: 709 Bytes

Contents

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

require 'coveralls'
Coveralls.wear!

# 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 'minitest/pride'

require 'webmock/test_unit'
WebMock.disable_net_connect!

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
fluent-plugin-elasticsearch2-3.5.7 test/helper.rb
fluent-plugin-elasticsearch2-3.5.6 test/helper.rb
fluent-plugin-elasticsearch2-3.5.5 test/helper.rb
fluent-plugin-elasticsearch-3.5.4 test/helper.rb
fluent-plugin-elasticsearch-2.10.3 test/helper.rb