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-4.0.2 test/helper.rb
fluent-plugin-elasticsearch-4.0.1 test/helper.rb
fluent-plugin-elasticsearch-4.0.0 test/helper.rb
fluent-plugin-elasticsearch-3.8.0 test/helper.rb
fluent-plugin-elasticsearch-1.18.2 test/helper.rb
fluent-plugin-elasticsearch-3.7.1 test/helper.rb
fluent-plugin-elasticsearch-3.7.0 test/helper.rb
fluent-plugin-elasticsearch-3.6.1 test/helper.rb
fluent-plugin-elasticsearch-3.6.0 test/helper.rb
fluent-plugin-elasticsearch-3.5.6 test/helper.rb
fluent-plugin-elasticsearch-3.5.5 test/helper.rb
fluent-plugin-elasticsearch-3.5.3 test/helper.rb
fluent-plugin-elasticsearch-3.5.2 test/helper.rb
fluent-plugin-elasticsearch-3.5.1 test/helper.rb
fluent-plugin-elasticsearch-3.5.0 test/helper.rb
fluent-plugin-elasticsearch-3.4.3 test/helper.rb
fluent-plugin-elasticsearch-3.4.2 test/helper.rb
fluent-plugin-elasticsearch-3.4.1 test/helper.rb
fluent-plugin-elasticsearch-3.4.0 test/helper.rb
fluent-plugin-elasticsearch-3.3.3 test/helper.rb