[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:08:00 UTC 2010
The following commit has been merged in the upstream branch:
commit 8c8e9210a2b538a1848d309ef9f3966d94a95de9
Author: Jesse Wolfe <jes5199 at gmail.com>
Date: Fri Dec 18 16:15:37 2009 -0800
Fixing #2963 spec/unit/util/autoload.rb depends on global state
An Autoload spec was depending on files having not yet been autoloaded.
Detected as part of #2879.
Signed-off-by: Jesse Wolfe <jes5199 at gmail.com>
diff --git a/spec/unit/util/autoload.rb b/spec/unit/util/autoload.rb
index 1893812..4e13842 100755
--- a/spec/unit/util/autoload.rb
+++ b/spec/unit/util/autoload.rb
@@ -111,6 +111,8 @@ describe Puppet::Util::Autoload do
before do
@autoload.stubs(:searchpath).returns %w{/a}
Dir.stubs(:glob).returns "/path/to/file.rb"
+
+ @autoload.class.stubs(:loaded?).returns(false)
end
[RuntimeError, LoadError, SyntaxError].each do |error|
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list