summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2010-06-24 17:22:46 -0700
committerMatt Robinson <matt@puppetlabs.com>2010-06-24 17:22:46 -0700
commit15004f34cd8533575ba4f971decc09383f1b0cd0 (patch)
treed7baa841ad67586ec702e0ea920886fbfaae103f /spec
parent60932e19bb8b56ce6fc17f970c80814c1bd43ed4 (diff)
downloadpuppet-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-xspec/unit/parser/compiler_spec.rb4
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