Sha256: af67a9f8af2daed2decbe3bb6560dcba7b7fcdfd76c0f7b2172084a41b234e7f
Contents?: true
Size: 496 Bytes
Versions: 8
Compression:
Stored size: 496 Bytes
Contents
# encoding: utf-8 require "logstash/outputs/null" require "logstash/event" require "logstash/devutils/rspec/spec_helper" describe LogStash::Outputs::Null do context "#register" do it "should not raise an error" do expect {subject.register }.not_to raise_error end end context "#receive" do let(:event) { LogStash::Event.new({ "message" => "foobar" }) } it "should not raise an error" do expect {subject.receive(event) }.not_to raise_error end end end
Version data entries
8 entries across 8 versions & 1 rubygems