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

Version Path
logstash-output-redis-increment-1.9.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-1.8.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-1.7.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-1.6.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-1.5.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-1.4.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-1.3.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-1.2.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-1.1.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-1.0.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-0.8.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-0.7.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-0.6.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-0.5.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-0.4.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-0.3.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-0.2.0 spec/outputs/redis-increment_spec.rb
logstash-output-redis-increment-0.1.0 spec/outputs/redis-increment_spec.rb