Sha256: da2e12865bc00cac336ef107de17eee6f9a08594ebd212eb9b3d63f9d088b247
Contents?: true
Size: 434 Bytes
Versions: 6
Compression:
Stored size: 434 Bytes
Contents
require 'spec_helper' describe LogStasher do it 'has a version' do ::LogStasher::VERSION.should_not be_nil end it 'has a logger' do ::LogStasher.logger.should be_a_kind_of(::Logger) end it 'stores a callback for appending fields' do callback = proc { |fields| fail 'Did not expect this to run' } ::LogStasher.append_fields(&callback) ::LogStasher.append_fields_callback.should be callback end end
Version data entries
6 entries across 6 versions & 1 rubygems