On 12 Dec 2008, at 07:27, John Small wrote:
> > >> >> My guess is that you are using fixtures and each test that fails >> isn't >> specifying the ones on which it relies. >> >> -Rob > Rob > > Err, no. The test unit specifies the fixtures it uses so that should > be > OK. But the error comes from a missing variable in a partial. It fails > when I run ruby test/functional/etc but not when I rake > test:functionals. > > It's worrying because I have to wonder what other tests should be > failing but aren't failing when I run the entire test suite rather > than > the individual units. > IIRC there is an issue where partials sort of remember :locals that were passed in previous invocations (in that they will exist with value nil on subsequent calls if you don't specify them) Fred > John > > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

