test/helper.rb in fluent-plugin-string-scrub-0.1.0 vs test/helper.rb in fluent-plugin-string-scrub-1.0.0
- old
+ new
@@ -10,19 +10,12 @@
require 'test/unit'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'fluent/test'
-unless ENV.has_key?('VERBOSE')
- nulllogger = Object.new
- nulllogger.instance_eval {|obj|
- def method_missing(method, *args)
- # pass
- end
- }
- $log = nulllogger
-end
-
+require 'fluent/version'
+require 'fluent/test/driver/output'
+require 'fluent/test/driver/filter'
require 'fluent/plugin/out_string_scrub'
require 'fluent/plugin/filter_string_scrub'
class Test::Unit::TestCase
end