+1 for the patch, but does the commit message imply that we should be looking for other occurrences?
On Mon, Dec 14, 2009 at 6:51 PM, Jesse Wolfe <[email protected]> wrote: > Any test calling it_should_behave_like "Puppet::FileServing::Files" > potentially was affected by this bug, as its stubbing was not sufficient > if anything needs to be autoloaded. > > Signed-off-by: Jesse Wolfe <[email protected]> > --- > spec/shared_behaviours/file_serving.rb | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/spec/shared_behaviours/file_serving.rb > b/spec/shared_behaviours/file_serving.rb > index 8aad888..8768894 100644 > --- a/spec/shared_behaviours/file_serving.rb > +++ b/spec/shared_behaviours/file_serving.rb > @@ -26,7 +26,7 @@ describe "Puppet::FileServing::Files", :shared => true do > > it "should use the file_server terminus when the 'puppet' URI scheme is > used, no host name is present, and the process name is 'puppet'" do > uri = "puppet:///fakemod/my/file" > - Puppet::Node::Environment.stubs(:new).returns(stub("env", :name => > "testing", :module => nil)) > + Puppet::Node::Environment.stubs(:new).returns(stub("env", :name => > "testing", :module => nil, :modulepath => [])) > Puppet.settings.stubs(:value).returns "" > Puppet.settings.stubs(:value).with(:name).returns("puppet") > > Puppet.settings.stubs(:value).with(:fileserverconfig).returns("/whatever") > -- > 1.6.5 > > -- > > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
