Sha256: 5f29d974d71801b828c12ee0058d245f28b9e9618f47cce5779bdfed52e289cf
Contents?: true
Size: 530 Bytes
Versions: 4
Compression:
Stored size: 530 Bytes
Contents
# encoding: utf-8 require "logstash/devutils/rspec/spec_helper" require "logstash/outputs/aerospike" require "logstash/codecs/plain" require "logstash/event" describe LogStash::Outputs::Aerospike do let(:sample_event) { LogStash::Event.new } let(:output) { LogStash::Outputs::Aerospike.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
4 entries across 4 versions & 1 rubygems