Sha256: f997f44c7e9e47c4a6ccfcf1cf33bbff74dd684485c1f0896b07b8b37df686a3
Contents?: true
Size: 640 Bytes
Versions: 5
Compression:
Stored size: 640 Bytes
Contents
require "test_helper" require "fluent/plugin/buf_file" module Fluentd::Setting class OutElasticsearchTest < ActiveSupport::TestCase setup do @klass = Fluentd::Setting::OutElasticsearch @instance = @klass.new({}) end test "#valid?" do assert do @instance.valid? end end test "#plugin_name" do assert_equal("elasticsearch", @instance.plugin_name) end test "#plugin_type" do assert_equal("output", @instance.plugin_type) end test "#to_config" do assert do @instance.to_config.to_s.include?("@type elasticsearch") end end end end
Version data entries
5 entries across 5 versions & 1 rubygems