require File.dirname(__FILE__) + '/test_helper.rb' class TestIndex < Test::Unit::TestCase def test_index db_fname = 'tmp/list' begin RecordSearch.index(TestDataSource.new, db_fname) ensure File.delete(db_fname) File.delete(db_fname + '.idx') end end end