Sha256: 80503747d0a4eec6e4082c90aa06eb7145b903b07fbcfe9295de7f92028c9edf

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

# encoding: utf-8
require 'spec_helper'
require "logstash/filters/example"

describe LogStash::Filters::Cache do
  describe "Add a sequence number to a log entry do"
    let(:config) do <<-CONFIG
      filter {
        sequence {
          field => "sequence"
        }
      }
    CONFIG
    end

    sample("field" => "seq_field") do
      expect(subject).to include("seq_field")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-filter-cache-0.1.0 spec/filters/cache_spec.rb