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