spec/spec_helper.rb in logstash-logger-0.10.3 vs spec/spec_helper.rb in logstash-logger-0.11.0
- old
+ new
@@ -52,9 +52,10 @@
let(:io_device) { LogStashLogger::Device.new(type: :io, io: io)}
let(:redis_device) { LogStashLogger::Device.new(type: :redis, sync: true) }
let(:kafka_device) { LogStashLogger::Device.new(type: :kafka, sync: true) }
let(:multi_delegator_device) { LogStashLogger::Device.new([{type: :stdout}, {type: :io, io: io}]) }
+ let(:balancer_device) { LogStashLogger::Device.new(type: :balancer, outputs: [{type: :stdout}, {type: :io, io: io}]) }
let(:udp_uri) { "udp://localhost:5228" }
let(:tcp_uri) { "tcp://localhost:5229" }
let(:unix_uri) { "unix:///some/path/to/socket" }
let(:file_uri) { "file://#{file.path}" }