[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35
Jesse Wolfe
jes5199 at gmail.com
Wed Jul 14 10:35:23 UTC 2010
The following commit has been merged in the upstream branch:
commit c70c96b7075a13b0e90651811a3a4bc1223f4e7f
Author: Jesse Wolfe <jes5199 at gmail.com>
Date: Thu Jun 24 17:35:01 2010 -0700
Fix some tests broken by changing the call to newattr
diff --git a/spec/unit/type_spec.rb b/spec/unit/type_spec.rb
index e3ae5e6..fe59b9c 100755
--- a/spec/unit/type_spec.rb
+++ b/spec/unit/type_spec.rb
@@ -267,7 +267,7 @@ describe Puppet::Type do
Puppet::Type.type(:mount).any_instance.stubs(:newattr).with do |param, hash|
set << param
true
- end
+ end.returns(stub_everything "a property")
Puppet::Type.type(:mount).new(resource)
@@ -284,7 +284,7 @@ describe Puppet::Type do
Puppet::Type.type(:mount).any_instance.stubs(:newattr).with do |param, hash|
set << param
true
- end
+ end.returns(stub_everything "a property")
Puppet::Type.type(:mount).new(resource)
set[0].should == :name
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list