Sha256: 96e5d199a808d62f1149e0b77e04ff5500b79c5e68a4e6d9b04ab917b8bce8d5
Contents?: true
Size: 434 Bytes
Versions: 9
Compression:
Stored size: 434 Bytes
Contents
require 'spec_helper' describe Rearview::LogFormatter do let(:formatter) { Rearview::LogFormatter.new } context '#call' do it "includes the thread name" do expect(formatter.call("DEBUG",Time.now.utc,"Rearview","yo")).to match(/#\d+\/main]/) end it "includes Rearview as the progname if none is provided" do expect(formatter.call("DEBUG",Time.now.utc,nil,"yo")).to match(/Rearview: yo$/) end end end
Version data entries
9 entries across 9 versions & 1 rubygems