test/ral/providers/package/aptitude.rb in puppet-0.24.5 vs test/ral/providers/package/aptitude.rb in puppet-0.24.6
- old
+ new
@@ -39,11 +39,10 @@
:install,
'faff'
).returns(0)
pkg.evaluate.each { |state|
- state.transaction = self
state.forward
}
end
def test_purge
@@ -65,8 +64,8 @@
'-y',
'purge',
'faff'
).returns(0)
- pkg.evaluate.each { |state| state.transaction = self; state.forward }
+ pkg.evaluate.each { |state| state.forward }
end
end