Sha256: fedbe5931c46188bab3119b6f259f43fa5815955b05c0cd3bc28b49fbe23631f

Contents?: true

Size: 687 Bytes

Versions: 5

Compression:

Stored size: 687 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 & 1 rubygems

Version Path
fluent-plugin-modsecurity-0.1.6 test/helper.rb
fluent-plugin-modsecurity-0.1.5 test/helper.rb
fluent-plugin-modsecurity-0.1.4 test/helper.rb
fluent-plugin-modsecurity-0.1.3 test/helper.rb
fluent-plugin-modsecurity-0.1.2 test/helper.rb