Sha256: 936b317af50c93428287875e48c67ba1d229605f5504beba67f7be5b42a4c5f7
Contents?: true
Size: 238 Bytes
Versions: 2
Compression:
Stored size: 238 Bytes
Contents
require 'abstract_unit' include ActsAsIndexed class PreTokenizerTest < ActiveSupport::TestCase def test_strips_non_word_characters assert_equal "Chocolate Chip Cookies ", PreTokenizer.process("Chocolate-Chip Cookies!") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acts_as_indexed-0.8.1 | test/pre_tokenizer_test.rb |
acts_as_indexed-0.8.0 | test/pre_tokenizer_test.rb |