Sha256: 6cb38ad3279740812bda2b025f5dec411cb7f91ec0f8d162fc2931c7ec2e09c8
Contents?: true
Size: 298 Bytes
Versions: 9
Compression:
Stored size: 298 Bytes
Contents
require 'logstash-logger' describe LogStashLogger::Device::IO do include_context 'device' let(:subject) { io_device } let(:io) { StringIO.new } it "writes to the IO object" do expect(subject.to_io).to eq(io) expect(io).to receive(:write).once subject.write("test") end end
Version data entries
9 entries across 9 versions & 1 rubygems