Skip to content
Browse files

Merge pull request #6 from pcarlisle/ticket/2.7.x/12572-last-run-summary

Ticket/2.7.x/12572 last run summary
  • Loading branch information...
2 parents 87bcf3f + c814c6b commit 7c5d1e40d363d78ba4213445c35e5ac71e319862 @haus haus committed Feb 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/unit/configurer_spec.rb
View
2 spec/unit/configurer_spec.rb
@@ -430,7 +430,7 @@
end
it "should log but not fail if saving the last run summary fails" do
- Puppet[:lastrunfile] = "/dev/null/inexistant"
+ Puppet::Util::FileLocking.expects(:writelock).raises "exception"
Puppet.expects(:err)
lambda { @configurer.save_last_run_summary(@report) }.should_not raise_error
end

0 comments on commit 7c5d1e4

Please sign in to comment.
Something went wrong with that request. Please try again.