# Delete the fixtures on a functionnal test

**URL:** <https://www.ruby-forum.com/t/delete-the-fixtures-on-a-functionnal-test/156000>\
**Category:** Rails\
**Created:** [June 13, 2007, 7:30am UTC](https://www.ruby-forum.com/t/delete-the-fixtures-on-a-functionnal-test/156000 "2007-06-13T07:30:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyril\_mougel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a9adbd/32.png) [@cyril\_mougel](https://www.ruby-forum.com/u/cyril_mougel)\
**Post date:** [June 13, 2007, 7:30am UTC](https://www.ruby-forum.com/t/delete-the-fixtures-on-a-functionnal-test/156000/1 "2007-06-13T07:30:20Z")

</div>

Hi,

Since couple a day, I block with the delete of my fixtures in my  
functionnals test. In my controller, I need test a redirect if there  
are no value.

But i load my fixtures in start of my test and in a specific test I  
want delete all. Only in this method, not in other method. In API, I  
discover the method delete\_existing\_fixtures, who seem the good  
practice, but I can’t find how use it. I have always the information  
of method not found.

So I want know if anyone has an information for delete my fixtures in  
a test.

thanks

–  
Cyril M.
