Sha256: b4ba86ebd566ab5bac86f604c1041c4e782722bd3a21bc3db4ebeeb6116ab374

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

Stored size: 438 Bytes

Contents

# encoding: UTF-8
require 'spec_helper'

class KuromojiOutputTest < Test::Unit::TestCase
  def setup
    Fluent::Test.setup
  end

  def create_driver(conf = CONFIG, tag = 'test')
    d = Fluent::Test::BufferedOutputTestDriver.new(Fluent::KuromojiOutput, tag).configure(conf)
    d
  end

  def test_configure_error
    assert_raise(Fluent::ConfigError) do
      d = create_driver %[
        target_key message
      ]
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fluent-plugin-kuromoji-0.0.2 spec/out_kuromoji_spec.rb
fluent-plugin-kuromoji-0.0.1 spec/out_kuromoji_spec.rb