diff options
author | Matt Robinson <matt@puppetlabs.com> | 2010-06-24 17:22:46 -0700 |
---|---|---|
committer | Matt Robinson <matt@puppetlabs.com> | 2010-06-24 17:22:46 -0700 |
commit | 15004f34cd8533575ba4f971decc09383f1b0cd0 (patch) | |
tree | d7baa841ad67586ec702e0ea920886fbfaae103f /spec | |
parent | 60932e19bb8b56ce6fc17f970c80814c1bd43ed4 (diff) | |
download | puppet-15004f34cd8533575ba4f971decc09383f1b0cd0.tar.gz puppet-15004f34cd8533575ba4f971decc09383f1b0cd0.tar.xz puppet-15004f34cd8533575ba4f971decc09383f1b0cd0.zip |
maint: Fix failing test that needed more methods stubbed
Diffstat (limited to 'spec')
-rwxr-xr-x | spec/unit/parser/compiler_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/parser/compiler_spec.rb b/spec/unit/parser/compiler_spec.rb index fa65479b3..67bfc3749 100755 --- a/spec/unit/parser/compiler_spec.rb +++ b/spec/unit/parser/compiler_spec.rb @@ -293,9 +293,9 @@ describe Puppet::Parser::Compiler do @compiler.add_resource(@scope, resource) # And one that does not - dnf = stub "dnf", :ref => "File[dnf]", :type => "file" + dnf_resource = stub_everything "dnf", :ref => "File[dnf]", :type => "file" - @compiler.add_resource(@scope, dnf) + @compiler.add_resource(@scope, dnf_resource) @compiler.send(:finish) end |