Sha256: 61649f29af74752a55f4ff305f9fd4677ccaeb5dd6fbbac65c88cd0fcdfa4bd9

Contents?: true

Size: 390 Bytes

Versions: 4

Compression:

Stored size: 390 Bytes

Contents

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

describe LogStash::Filters::Oui do
  describe "Set to OUI" do
    config <<-CONFIG
      filter {
        oui {
        }
      }
    CONFIG

    sample("message" => "00:50:56") do
      insist { subject["oui"]["id"] } == 20566
      insist { subject["oui"]["organization"] } == "VMware, Inc."
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
logstash-filter-oui-0.1.5 spec/filters/oui_spec.rb
logstash-filter-oui-0.1.4 spec/filters/oui_spec.rb
logstash-filter-oui-0.1.3 spec/filters/oui_spec.rb
logstash-filter-oui-0.1.2 spec/filters/oui_spec.rb