Sha256: 0dd138d4f70a427a7b05e49403684877cd5d29f0c8f9db4e72337ba16e4d78c1
Contents?: true
Size: 440 Bytes
Versions: 2
Compression:
Stored size: 440 Bytes
Contents
require "#{File.dirname(__FILE__)}/../test_helper" class SpellTest < Test::Unit::TestCase def test_load_errors_are_rescued # XXX don't know how to test this sanely end def test_spelling if defined?(Aspell) assert_equal nil, Ultrasphinx::Spell.correct("correct words") assert_equal "garbled words", Ultrasphinx::Spell.correct("glarbled words") else STDERR.puts "No Aspell found" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ultrasphinx-1.11 | test/integration/spell_test.rb |
ultrasphinx-1.9 | test/integration/spell_test.rb |