spec/spec_helper.rb in logstash-logger-0.5.0 vs spec/spec_helper.rb in logstash-logger-0.6.0

- old
+ new

@@ -36,6 +36,12 @@ let(:port) { PORT } let(:device_with_port) { LogStashLogger::Device.new(port: port) } let(:udp_device) { LogStashLogger::Device.new(type: :udp, port: port) } let(:tcp_device) { LogStashLogger::Device.new(type: :tcp, port: port) } let(:ssl_tcp_device) { LogStashLogger::Device.new(type: :tcp, port: port, ssl_enable: true) } + let(:unix_device) { LogStashLogger::Device.new(type: :unix, path: '/tmp/logstash') } + + let(:file) { Tempfile.new('test') } + let(:file_device) { LogStashLogger::Device.new(type: :file, path: file.path)} + + let(:redis_device) { LogStashLogger::Device.new(type: :redis, sync: true) } end