summaryrefslogtreecommitdiff
path: root/spec/unit/log
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2008-09-08 23:37:25 -0700
committerAdam Jacob <adam@hjksolutions.com>2008-09-08 23:37:25 -0700
commitfb2f31f253b8cb4bb004a0371c1c729aa975e64c (patch)
tree924a2389c4be2325ba8f3eb63f26b520fb3590ac /spec/unit/log
parent0da4ec949d5a1607047b7746f8cce449164056ec (diff)
downloadchef-fb2f31f253b8cb4bb004a0371c1c729aa975e64c.tar.gz
Adding specs for new resource types, fixes to node, mixin::template
Diffstat (limited to 'spec/unit/log')
-rw-r--r--spec/unit/log/formatter_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/log/formatter_spec.rb b/spec/unit/log/formatter_spec.rb
index 58834f6fb8..e0d8bfd773 100644
--- a/spec/unit/log/formatter_spec.rb
+++ b/spec/unit/log/formatter_spec.rb
@@ -39,6 +39,7 @@ describe Chef::Log::Formatter do
it "should return a formatted string with call" do
time = Time.new
+ Chef::Log::Formatter.show_time = true
@formatter.call("monkey", time, "test", "mos def").should == "[#{time.rfc2822}] monkey: mos def\n"
end