summaryrefslogtreecommitdiffstats
path: root/spec/unit/transaction
diff options
context:
space:
mode:
authorPaul Berry <paul@puppetlabs.com>2010-12-28 17:38:57 -0800
committerPaul Berry <paul@puppetlabs.com>2010-12-30 11:43:47 -0800
commite596a570b2734ea27eec57a6e3a11843ccb47614 (patch)
treebd1d1c39ea116e86b7ea1fd00591c46627d6947d /spec/unit/transaction
parent908e0e09ed94ab6b74aba3b9e4fa95318d8894ef (diff)
downloadpuppet-e596a570b2734ea27eec57a6e3a11843ccb47614.tar.gz
puppet-e596a570b2734ea27eec57a6e3a11843ccb47614.tar.xz
puppet-e596a570b2734ea27eec57a6e3a11843ccb47614.zip
(#5715) Removed Puppet::Util::Log#version.
This attribute was only relevant in reports, and in reports it was redundant with Puppet::Transaction::Report#configuration_version and Puppet::Transaction::Report#puppet_version.
Diffstat (limited to 'spec/unit/transaction')
-rwxr-xr-xspec/unit/transaction/event_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/transaction/event_spec.rb b/spec/unit/transaction/event_spec.rb
index 0528402d8..f1db3835b 100755
--- a/spec/unit/transaction/event_spec.rb
+++ b/spec/unit/transaction/event_spec.rb
@@ -83,7 +83,7 @@ describe Puppet::Transaction::Event do
Puppet::Transaction::Event.new(:tags => %w{one two}).send_log
end
- [:file, :line, :version].each do |attr|
+ [:file, :line].each do |attr|
it "should pass the #{attr}" do
Puppet::Util::Log.expects(:new).with { |args| args[attr] == "my val" }
Puppet::Transaction::Event.new(attr => "my val").send_log