[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, upstream, updated. 51bcebe38cab6088c901f1006339bbe40a36d161

James Turnbull james at lovedthanlost.net
Wed Aug 18 05:55:45 UTC 2010


The following commit has been merged in the upstream branch:
commit 2f016f387367d6e52504194098333d1692e33c67
Author: James Turnbull <james at lovedthanlost.net>
Date:   Sat Apr 24 15:45:01 2010 +1000

    Fixed #3541 - Ruby 1.9: broken unittest, unexpected invocation: Process.waitall()
    
    Thanks to Jos Backus for the fix.

diff --git a/spec/unit/util/resolution.rb b/spec/unit/util/resolution.rb
index d4bb781..7cbfb31 100755
--- a/spec/unit/util/resolution.rb
+++ b/spec/unit/util/resolution.rb
@@ -136,6 +136,7 @@ describe Facter::Util::Resolution do
                 @resolve.expects(:warn)
                 @resolve.timeout = 0.1
                 @resolve.setcode { sleep 2; raise "This is a test" }
+                Thread.expects(:new).yields
 
                 @resolve.value.should be_nil
             end

-- 
Packaging of Facter for debian



More information about the Pkg-puppet-devel mailing list