Sha256: 53b6c7da68b3072939820e24fcb6cb912594a2b15536a6e7929484954c2a5e95
Contents?: true
Size: 411 Bytes
Versions: 34
Compression:
Stored size: 411 Bytes
Contents
require 'spec_helper' describe Lumberjack::Formatter::InspectFormatter do it "should format objects as string by calling their inspect method" do formatter = Lumberjack::Formatter::InspectFormatter.new formatter.call("abc").should == "\"abc\"" formatter.call(:test).should == ":test" formatter.call(1).should == "1" formatter.call([:a, 1, "b"]).should == [:a, 1, "b"].inspect end end
Version data entries
34 entries across 32 versions & 10 rubygems