Sha256: 3b6f4b2939b5fb44930ff4f0d924280f2b27feafd2b628b07bcba4c39dac351b
Contents?: true
Size: 552 Bytes
Versions: 5
Compression:
Stored size: 552 Bytes
Contents
require 'helper' class ModsecurityFilter < Test::Unit::TestCase def setup Fluent::Test.setup require 'fluent/plugin/filter_modsecurity' @driver = nil end def driver(tag='test', config='') @driver ||= Fluent::Test::FilterTestDriver.new(Fluent::ModsecurityFilter, tag).configure(config) end def test_configure config = %{ path_prefix /var/log } instance = driver('test', config).instance path = instance.path_prefix assert_equal "/var/log", path end end
Version data entries
5 entries across 5 versions & 1 rubygems