Sha256: b8af96b22de92a8eb4fbe1eab915d6cee7c69e3913caec40683c6ca66cacbdf4

Contents?: true

Size: 291 Bytes

Versions: 4

Compression:

Stored size: 291 Bytes

Contents

require "logstash/devutils/rspec/spec_helper"
require "logstash/filters/drop"

describe LogStash::Filters::Drop do

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

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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
logstash-filter-drop-0.1.5 spec/filters/drop_spec.rb
logstash-filter-drop-0.1.4 spec/filters/drop_spec.rb
logstash-filter-drop-0.1.3 spec/filters/drop_spec.rb
logstash-filter-drop-0.1.2 spec/filters/drop_spec.rb