Every time I save a model spec I get this: super: no superclass method `respond_to?'' And I have to restart autotest to get it to go away. Is there any solution to this? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20080804/8cc9f43e/attachment.html>
On Aug 4, 2008, at 5:55 PM, Fischer, Daniel wrote:> Every time I save a model spec I get this: > > super: no superclass method `respond_to?''Are you running under drb? Autotest? What version of rspec? rails? I''m almost certain this is a rails loading bug...Are you requiring anywhere? What is the value of config.cache_classes in your test.rb? Scott
> Are you running under drb? Autotest? What version of rspec? rails? > > I''m almost certain this is a rails loading bug...Are you requiring > anywhere? What is the value of config.cache_classes in your test.rb?Same prob. Passing tests pass, and the first failing test fails correctly... but ever afterwards the permanent ''respond_to?'' error plagues me until I restart autotest Running autotest with Rspec -v 1.1.4 and rails 2.1.0 no special requiring (except spec_helper at the top, of course) and config.cache_classes is true I tried setting config.cache_classes to false, but that didn''t change the above countdown to FAIL :/ -- Posted via http://www.ruby-forum.com/.
Any fix on this yet? On Sat, Aug 9, 2008 at 8:33 AM, Jd Roberts <lists at ruby-forum.com> wrote:> > Are you running under drb? Autotest? What version of rspec? rails? > > > > I''m almost certain this is a rails loading bug...Are you requiring > > anywhere? What is the value of config.cache_classes in your test.rb? > > Same prob. Passing tests pass, and the first failing test fails > correctly... but ever afterwards the permanent ''respond_to?'' error > plagues me until I restart autotest > > Running autotest with Rspec -v 1.1.4 and rails 2.1.0 > > no special requiring (except spec_helper at the top, of course) and > config.cache_classes is true > > I tried setting config.cache_classes to false, but that didn''t change > the above countdown to FAIL :/ > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20080813/f18f3e67/attachment.html>