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