Sha256: 5fe1624f24c4972e4cb7660bbc89513f0dadffcae087329e50d8f2b7cb425564
Contents?: true
Size: 470 Bytes
Versions: 12
Compression:
Stored size: 470 Bytes
Contents
# encoding: utf-8 require "logstash/devutils/rspec/spec_helper" require "logstash/codecs/plain" require "logstash/event" describe LogStash::Outputs::LogService do let(:sample_event) { LogStash::Event.new } let(:output) { LogStash::Outputs::Example.new } before do output.register end describe "receive message" do subject { output.receive(sample_event) } it "returns a string" do expect(subject).to eq("Event received") end end end
Version data entries
12 entries across 12 versions & 1 rubygems