You should provide a RAMDirectory to your Index during your tests.
That way, each new Index instance creates a new empty RAM stored
index, which's faster for tests and doesn't create any files :-)

Have a look at the RAMDirectory class :)

Jérémie.

--
Jérémie 'ahFeel' BORDIER
Rift Technologies - http://www.installclick.com
Blog - http://www.unixaumonde.com

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to