summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/util/log/destinations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/log/destinations.rb b/spec/unit/util/log/destinations.rb
index 0bc416e74..b43c75730 100755
--- a/spec/unit/util/log/destinations.rb
+++ b/spec/unit/util/log/destinations.rb
@@ -17,7 +17,7 @@ describe Puppet::Util::Log.desttypes[:report] do
report = mock 'report'
dest = @dest.new(report)
- report.expects(:newlog).with("my log")
+ report.expects(:<<).with("my log")
dest.handle "my log"
end