[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. puppet-0.24.5-rc3-1601-gf8c1b08

James Turnbull james at lovedthanlost.net
Fri Jan 15 09:07:32 UTC 2010


The following commit has been merged in the upstream branch:
commit feb021f42a45dc2e9f32bdf6e11878706f7c1d76
Author: Markus Roberts <Markus at reality.com>
Date:   Thu Dec 3 11:01:52 2009 -0800

    Avoiding rspec bug which causes 'be_all' tests to always pass

diff --git a/spec/unit/node/environment.rb b/spec/unit/node/environment.rb
index 9b0d5ee..6a775af 100755
--- a/spec/unit/node/environment.rb
+++ b/spec/unit/node/environment.rb
@@ -171,7 +171,7 @@ describe Puppet::Node::Environment do
                 env.expects(:modulepath).returns %w{/a}
                 Dir.expects(:entries).with("/a").returns %w{foo}
 
-                env.modules.should be_all{|mod| mod.environment == "testing" }
+                env.modules.each {|mod| mod.environment.should == "testing" }
             end
 
             it "should cache the module list" do

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list