summaryrefslogtreecommitdiff
path: root/spec/unit/log
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2008-07-28 17:57:49 -0700
committerAdam Jacob <adam@hjksolutions.com>2008-07-28 17:57:49 -0700
commit8d4c3be22c5dbb030e96bcbac12679de7a09b0fe (patch)
tree6fd5282dccb98e63ce8fae5277e7cadf8acc204a /spec/unit/log
parentd734c714c1e7598ddba40b47c26d10f002e06420 (diff)
downloadchef-8d4c3be22c5dbb030e96bcbac12679de7a09b0fe.tar.gz
Updating search tickets
Diffstat (limited to 'spec/unit/log')
-rw-r--r--spec/unit/log/formatter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/log/formatter_spec.rb b/spec/unit/log/formatter_spec.rb
index 6651feab2e..899ae724a8 100644
--- a/spec/unit/log/formatter_spec.rb
+++ b/spec/unit/log/formatter_spec.rb
@@ -41,7 +41,7 @@ describe Chef::Log::Formatter do
it "should return a formatted string with call" do
time = Time.new
- @formatter.call("monkey", Time.new, "test", "mos def").should == "[#{time.rfc2822}] monkey: mos def\n"
+ @formatter.call("monkey", time, "test", "mos def").should == "[#{time.rfc2822}] monkey: mos def\n"
end
it "should allow you to turn the time on and off in the output" do