test/helper.rb in fluent-plugin-sumologic_output-1.0.3 vs test/helper.rb in fluent-plugin-sumologic_output-1.1.0
- old
+ new
@@ -1,2 +1,8 @@
-require 'test/unit'
-require 'fluent/test'
+$LOAD_PATH.unshift(File.expand_path("../../", __FILE__))
+require "test-unit"
+require "fluent/test"
+require "fluent/test/driver/output"
+require "fluent/test/helpers"
+
+Test::Unit::TestCase.include(Fluent::Test::Helpers)
+Test::Unit::TestCase.extend(Fluent::Test::Helpers)