+1 On Fri, Dec 18, 2009 at 4:19 PM, Jesse Wolfe <[email protected]> wrote: > An Autoload spec was depending on files having not yet been autoloaded. > Detected as part of #2879. > > Signed-off-by: Jesse Wolfe <[email protected]> > --- > spec/unit/util/autoload.rb | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/spec/unit/util/autoload.rb b/spec/unit/util/autoload.rb > index 1893812..4e13842 100755 > --- a/spec/unit/util/autoload.rb > +++ b/spec/unit/util/autoload.rb > @@ -111,6 +111,8 @@ describe Puppet::Util::Autoload do > before do > @autoload.stubs(:searchpath).returns %w{/a} > Dir.stubs(:glob).returns "/path/to/file.rb" > + > + �[email protected](:loaded?).returns(false) > end > > [RuntimeError, LoadError, SyntaxError].each do |error| > -- > 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. > > >
-- ----------------------------------------------------------- The power of accurate observation is commonly called cynicism by those who have not got it. ~George Bernard Shaw ------------------------------------------------------------ -- 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.
