Sha256: 217e272f3c841221f7927977475b8bc3ba64acf21a7f92d5badf7b1b245f3036
Contents?: true
Size: 402 Bytes
Versions: 11
Compression:
Stored size: 402 Bytes
Contents
# encoding: utf-8 require 'spec_helper' require "logstash/filters/example" describe LogStash::Filters::Example do describe "Set to Hello World" do let(:config) do <<-CONFIG filter { example { message => "Hello World" } } CONFIG end sample("message" => "some text") do expect(subject.get("message")).to eq('Hello World') end end end
Version data entries
11 entries across 11 versions & 4 rubygems