summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-12-10 14:12:06 -0800
committerJesse Wolfe <jes5199@gmail.com>2010-12-10 14:41:37 -0800
commit1aa815704036ede76b5d2daf5d01f744466e5f50 (patch)
tree9e69a2289870b1eceb91c27bcf4c30f1f03611f9
parent5e5ee97ae4cdedbb7975a44fd8a7a4cd4fb86606 (diff)
maint: missing line and filename stubs
Another missing stub exposed by Mocha 0.9.10
-rwxr-xr-xspec/unit/type/file/source_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/type/file/source_spec.rb b/spec/unit/type/file/source_spec.rb
index 522ae1f0e..00cc2f235 100755
--- a/spec/unit/type/file/source_spec.rb
+++ b/spec/unit/type/file/source_spec.rb
@@ -6,7 +6,7 @@ source = Puppet::Type.type(:file).attrclass(:source)
describe Puppet::Type.type(:file).attrclass(:source) do
before do
# Wow that's a messy interface to the resource.
- @resource = stub 'resource', :[]= => nil, :property => nil, :catalog => stub("catalog", :dependent_data_expired? => false)
+ @resource = stub 'resource', :[]= => nil, :property => nil, :catalog => stub("catalog", :dependent_data_expired? => false), :line => 0, :file => ''
end
it "should be a subclass of Parameter" do