Sha256: 7668bf29d5a3442425f85e8d6155e6ceaa9ce5e54755cb294d1ed310f1ec6b20
Contents?: true
Size: 337 Bytes
Versions: 34
Compression:
Stored size: 337 Bytes
Contents
require 'spec_helper' describe Lumberjack::Formatter::StringFormatter do it "should format objects as string by calling their to_s method" do formatter = Lumberjack::Formatter::StringFormatter.new formatter.call("abc").should == "abc" formatter.call(:test).should == "test" formatter.call(1).should == "1" end end
Version data entries
34 entries across 32 versions & 10 rubygems