larry@underfl0w:~/xapian-fu-1.5.0/spec$ grep -n "/tmp/xapian_fu_test.db" * facets_spec.rb:3:tmp_dir = '/tmp/xapian_fu_test.db' xapian_db_spec.rb:8:tmp_dir = '/tmp/xapian_fu_test.db' from xapian_db_spec.rb: First it removes the file if it exists: 12 FileUtils.rm_rf tmp_dir if File.exists?(tmp_dir) Then it creates the file in /tmp if on file database is selected 22 it "should make an on-disk database when given a :dir option" do 23 xdb = XapianDb.new(:dir => tmp_dir, :create => true) 24 xdb.rw 34 it "should lazily create the on-disk database when rw is used" do 35 xdb = XapianDb.new(:dir => tmp_dir, :create => true) 36 File.exists?(tmp_dir).should be_false 37 xdb.rw 38 File.exists?(tmp_dir).should be_true 39 end