Sha256: 09f57f039be624b80a09e23c942fc412f1c39b6bafaebdb17d62a7551c524753

Contents?: true

Size: 685 Bytes

Versions: 180

Compression:

Stored size: 685 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

180 entries across 180 versions & 5 rubygems

Version Path
fluent-plugin-elasticsearch-5.2.4 test/helper.rb
fluent-plugin-elasticsearch-5.2.3 test/helper.rb
fluent-plugin-elasticsearch-5.2.2 test/helper.rb
fluent-plugin-elasticsearch-5.2.1 test/helper.rb
fluent-plugin-elasticsearch-5.2.0 test/helper.rb
fluent-plugin-elasticsearch-5.1.5 test/helper.rb
fluent-plugin-elasticsearch-5.1.4 test/helper.rb
fluent-plugin-elasticsearch-5.1.3 test/helper.rb
fluent-plugin-elasticsearch-5.1.2 test/helper.rb
fluent-plugin-elasticsearch-5.1.1 test/helper.rb
fluent-plugin-elasticsearch-5.1.0 test/helper.rb
fluent-plugin-elasticsearch-5.0.5 test/helper.rb
fluent-plugin-elasticsearch-5.0.4 test/helper.rb
fluent-plugin-elasticsearch-5.0.3 test/helper.rb
fluent-plugin-elasticsearch-5.0.2 test/helper.rb
fluent-plugin-elasticsearch-dext-5.0.2 test/helper.rb
fluent-plugin-elasticsearch-5.0.1 test/helper.rb
fluent-plugin-elasticsearch-5.0.0 test/helper.rb
fluent-plugin-elasticsearch-4.3.3 test/helper.rb
fluent-plugin-elasticsearch-4.3.2 test/helper.rb