# How to disable fixture loading?

**URL:** <https://www.ruby-forum.com/t/how-to-disable-fixture-loading/90854>\
**Category:** Rails\
**Created:** [April 2, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/how-to-disable-fixture-loading/90854 "2007-04-02T12:47:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nuno](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/65b543/32.png) [@nuno](https://www.ruby-forum.com/u/nuno)\
**Post date:** [April 2, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/how-to-disable-fixture-loading/90854/1 "2007-04-02T12:47:44Z")

</div>

Hello, I have fixtures used with unit testing but I would like to  
disable them with some of my functionnal tests (test datas are created  
in the setup() method) because I get a wrong number of :all records (the  
ones from the fixture file and the ones created by setup())

This occurs regardless of the :fixtures directive

Thanks
