Sha256: 79212b54c62a916c9aca4a290f121457b723f0c41967a53d4abffd2ec0f6684b
Contents?: true
Size: 494 Bytes
Versions: 15
Compression:
Stored size: 494 Bytes
Contents
require 'sitehub/middleware/logging/log_stash' class SiteHub module Middleware module Logging describe LogStash do it 'inherits Array' do expect(subject).to be_a_kind_of(Array) end describe '#<<' do it 'adds a LogEntry' do allow(Time).to receive(:now).and_return(:current_time) subject << :message expect(subject).to eq([LogEntry.new(:message)]) end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems