diff options
author | Bryan McLellan <btm@opscode.com> | 2012-06-08 07:27:15 -0700 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2012-06-08 07:27:15 -0700 |
commit | a4d10c0b56ebac380fb73f931c6b96d22d162ce0 (patch) | |
tree | 4b2a080c32b7ac35c0688c52b4911cdb11ea63e9 | |
parent | cae21117d6a5347036249d33ed4452c5f5725ebe (diff) | |
download | mixlib-log-a4d10c0b56ebac380fb73f931c6b96d22d162ce0.tar.gz |
update spec tests for CHEF-2161
-rw-r--r-- | spec/mixlib/log/formatter_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/mixlib/log/formatter_spec.rb b/spec/mixlib/log/formatter_spec.rb index 909436a..1f9c1e5 100644 --- a/spec/mixlib/log/formatter_spec.rb +++ b/spec/mixlib/log/formatter_spec.rb @@ -40,7 +40,7 @@ describe Mixlib::Log::Formatter do it "should return a formatted string with call" do time = Time.new Mixlib::Log::Formatter.show_time = true - @formatter.call("monkey", time, "test", "mos def").should == "[#{time.rfc2822}] monkey: mos def\n" + @formatter.call("monkey", time, "test", "mos def").should == "[#{time.iso8601}] monkey: mos def\n" end it "should allow you to turn the time on and off in the output" do @@ -48,4 +48,4 @@ describe Mixlib::Log::Formatter do @formatter.call("monkey", Time.new, "test", "mos def").should == "monkey: mos def\n" end -end
\ No newline at end of file +end |