# Rake test:functionals failing for deeply generated namespace

**URL:** <https://www.ruby-forum.com/t/rake-test-functionals-failing-for-deeply-generated-namespace/131389>\
**Category:** Rails\
**Created:** [March 9, 2008, 6:50am UTC](https://www.ruby-forum.com/t/rake-test-functionals-failing-for-deeply-generated-namespace/131389 "2008-03-09T06:50:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stickstone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/6f9a4e/32.png) [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Post date:** [March 9, 2008, 6:50am UTC](https://www.ruby-forum.com/t/rake-test-functionals-failing-for-deeply-generated-namespace/131389/1 "2008-03-09T06:50:40Z")

</div>

I’m having an issue with the rake test:functional task. It seems to be  
spitting up warnings and failing on some of my functional tests that are  
deeply generated resources… most are under namespaces.

The tests work just fine if I run them one at a time. The test even  
works fine if I run just the specific one that seems to be crashing via:

rake test:functionals TEST=test/functional/ …

Here is a rake trace of the the error:  
[http://pastie.caboo.se/pastes/163484](http://pastie.caboo.se/pastes/163484)

I know all of my tests run just fine. I have run each one individually  
to make certain… but for some reason when run together with the rake  
test task it fails. Any thoughts?

Also, I have transactional\_fixtures turned off in test\_helper.rb I  
don’t think that makes a difference here but that is the only thing that  
I have different from the default generated test\_helper.rb file.
