dannnylo/rtesseract

Tests fail when português not installed

Eunoia opened this issue · 1 comments

Hello!

I just ran the tests locally on my monolingual computer. Because I don't have the português dictionary for tesseract installed, one of the tests fail:
RTesseract.new(@image_tiff,{:lang=>"por"}).to_s_without_spaces.should eql("43ZZ")

Not sure what the fix would be to install português, or to disable this test if the test runner doesn't have the proper dictionary.

What are your thoughts?

Hello,
I removed this line for the specs.