diff options
| author | Jesse Wolfe <jes5199@gmail.com> | 2010-12-10 14:12:06 -0800 |
|---|---|---|
| committer | Jesse Wolfe <jes5199@gmail.com> | 2010-12-10 14:41:37 -0800 |
| commit | 1aa815704036ede76b5d2daf5d01f744466e5f50 (patch) | |
| tree | 9e69a2289870b1eceb91c27bcf4c30f1f03611f9 | |
| parent | 5e5ee97ae4cdedbb7975a44fd8a7a4cd4fb86606 (diff) | |
maint: missing line and filename stubs
Another missing stub exposed by Mocha 0.9.10
| -rwxr-xr-x | spec/unit/type/file/source_spec.rb | 2 |
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 |
