Sha256: bf641d335b3f4591a5a690010f3e06de320a4e2279c10d4ea5cea942c5ad9b19

Contents?: true

Size: 485 Bytes

Versions: 9

Compression:

Stored size: 485 Bytes

Contents

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

describe LogStash::Filters::Punct do
  

  describe "all defaults" do
    config <<-CONFIG
      filter {
        punct { }
      }
    CONFIG

    sample "PHP Warning:  json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument in /var/www/htdocs/test.php on line 233" do
      insist { subject["punct"] } == ":_()[<='.-'>.-</>]:-////."
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logstash-filter-punct-2.0.6 spec/filters/punct_spec.rb
logstash-filter-punct-2.0.5 spec/filters/punct_spec.rb
logstash-filter-punct-2.0.4 spec/filters/punct_spec.rb
logstash-filter-punct-2.0.2 spec/filters/punct_spec.rb
logstash-filter-punct-2.0.1 spec/filters/punct_spec.rb
logstash-filter-punct-0.1.5 spec/filters/punct_spec.rb
logstash-filter-punct-0.1.4 spec/filters/punct_spec.rb
logstash-filter-punct-0.1.3 spec/filters/punct_spec.rb
logstash-filter-punct-0.1.2 spec/filters/punct_spec.rb