Argh, this isn't the only problem.  Try checking for namespace
intrusions in the other tests.  Things like "Module Fun" sneak in and
modify other things.  This whole testing suite needs some serious
refactoring.  I don't think rake's tests were ever meant to have
anything outside of the test class in the same file.

Looking at the way things are arranged, there's a lot of incompatible
duplication.  Also, I noticed there's a controller_fixtures directory
that is not even being used.  Wouldn't this be the prime place to put
examples of controllers that would be used in the tests, instead of
defining those controllers in the tests themselves?

On Jul 3, 4:12 pm, "Michael Koziarski" <[EMAIL PROTECTED]> wrote:
> > > This sounds an awful lot likehttp://dev.rubyonrails.org/ticket/8714.
>
> Seems it should be relatively straightforward to extract the
> definition to a file which is required by the tests which need it?
> I'd be happy to apply a patch which did that.
>
> As for the more hypothetical problem of tests messing with each other
> and causing problems.  Any patches which fix real problems caused by
> that will be gladly applied.
>
> --
> Cheers
>
> Koz


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to