diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-06-24 17:35:01 -0700 |
---|---|---|
committer | Jesse Wolfe <jes5199@gmail.com> | 2010-06-25 16:12:09 -0700 |
commit | c70c96b7075a13b0e90651811a3a4bc1223f4e7f (patch) | |
tree | 93f44eae50c37c87a09671e77459f10b24690ec5 | |
parent | a72fb145b9534890a8429ac46c3c324c961eeb41 (diff) | |
download | puppet-c70c96b7075a13b0e90651811a3a4bc1223f4e7f.tar.gz puppet-c70c96b7075a13b0e90651811a3a4bc1223f4e7f.tar.xz puppet-c70c96b7075a13b0e90651811a3a4bc1223f4e7f.zip |
Fix some tests broken by changing the call to newattr
-rwxr-xr-x | spec/unit/type_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/type_spec.rb b/spec/unit/type_spec.rb index e3ae5e62d..fe59b9c57 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 |