Changeset 242
- Timestamp:
- 04/24/08 07:49:19 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/yet_another_index_structure/lib/picolena/templates/app/models/indexer.rb
r239 r242 44 44 rescue => e 45 45 log :debug => "\tindexing without content: #{e.message}" 46 document = default_fields 46 47 end 47 48 writer << document branches/yet_another_index_structure/lib/picolena/templates/spec/models/plain_text_extractor_spec.rb
r240 r242 37 37 38 38 it "should not try to guess language when file is too small" do 39 Document.new("spec/test_dirs/indexed/basic/hello.rb").language.should be_ empty40 Document.new("spec/test_dirs/indexed/README").language.should be_ empty39 Document.new("spec/test_dirs/indexed/basic/hello.rb").language.should be_nil 40 Document.new("spec/test_dirs/indexed/README").language.should be_nil 41 41 end 42 42 end
