Ok, it seems like a very particular problem. I wasn’t able to figure
this one out off the top of my head but I have some clues and will
probably dive back in this after taking a breather.
First, I generated an empty project to demonstrate the problem
I can run every every functional test on its own, but running them as
a whole blows up with a million errors, most of them like:
- A controller in a namespace (ie: Namespace/Explode)
- A controller in the root namespace (ie: Superman - if you don’t
have this rake test:functionals works)
- Setting a “global” setup method (def setup in test_helper.rb)
I think that’s it.
Now, here’s the kicker, if you comment out the very first line in the
Namespace/Explode functional test (require File.dirname(FILE) +
‘/…/…/test_helper’) rake test:functionals works but not running that
single file, obviously.
Any ideas as to why this is? If I don’t get it soon, I’m going to just
do a work around of some sort.