Changeset 262

Show
Ignore:
Timestamp:
04/25/08 04:26:15 (7 months ago)
Author:
eric.dumin..@gmail.com
Message:

No need to test Language Recognition when disabled.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/picolena/templates/spec/models/plain_text_extractor_spec.rb

    r247 r262  
    3434    Document.new("spec/test_dirs/indexed/lang/lorca").language.should == "es" 
    3535    Document.new("spec/test_dirs/indexed/lang/hugo").language.should == "fr" 
    36   end 
     36  end if Picolena::UseLanguageRecognition 
    3737   
    3838  it "should not try to guess language when file is too small" do 
    3939    Document.new("spec/test_dirs/indexed/basic/hello.rb").language.should be_nil 
    4040    Document.new("spec/test_dirs/indexed/README").language.should be_nil 
    41   end 
     41  end if Picolena::UseLanguageRecognition 
    4242end