Sha256: 9fa97059810d32995e3b3f21a2bb92a53f4f27fd97ecd2ffe61bc45541be5a44

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

require "test_utils"
require "logstash/filters/drop"

describe LogStash::Filters::Drop do
  extend LogStash::RSpec

  describe "drop the event" do
    config <<-CONFIG
      filter {
        drop { }
      }
    CONFIG

    sample "hello" do
      insist { subject }.nil?
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-lib-1.3.2 spec/filters/drop.rb