[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35
test branch
puppet-dev at googlegroups.com
Wed Jul 14 10:31:55 UTC 2010
The following commit has been merged in the upstream branch:
commit aff59926bb8c8e7a136d6e87359e9857a4512da9
Author: Luke Kanies <luke at reductivelabs.com>
Date: Thu Jan 21 23:18:34 2010 -0800
Fixing failing Environment unit tests
Signed-off-by: Luke Kanies <luke at reductivelabs.com>
diff --git a/spec/unit/node/environment.rb b/spec/unit/node/environment.rb
index 8945f28..ac542d0 100755
--- a/spec/unit/node/environment.rb
+++ b/spec/unit/node/environment.rb
@@ -189,7 +189,7 @@ describe Puppet::Node::Environment do
it "should ignore invalid modules" do
env = Puppet::Node::Environment.new("testing")
- env.expects(:modulepath).returns( %w{/a} )
+ env.stubs(:modulepath).returns %w{/a}
Dir.expects(:entries).with("/a").returns %w{foo bar}
Puppet::Module.expects(:new).with { |name, env| name == "foo" }.returns mock("foomod", :name => "foo")
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list