Commit 7b160adcf00315da095771791cf241f183b2479e

Authored by Andrew
1 parent 7d02c2ab

Added comments [skip ci]

Showing 2 changed files with 4 additions and 1 deletions   Show diff stats
test/language_test.rb
... ... @@ -6,6 +6,7 @@ class LanguageTest < Minitest::Test
6 6 end
7 7  
8 8 def test_chinese
  9 + # requires https://github.com/medcl/elasticsearch-analysis-ik
9 10 skip unless ENV["CHINESE"]
10 11  
11 12 with_options(Song, language: "chinese") do
... ...
test/synonyms_test.rb
... ... @@ -47,7 +47,9 @@ class SynonymsTest < Minitest::Test
47 47 end
48 48  
49 49 def test_wordnet
50   - skip unless ENV["TEST_WORDNET"]
  50 + # requires WordNet
  51 + skip unless ENV["WORDNET"]
  52 +
51 53 store_names ["Creature", "Beast", "Dragon"], Animal
52 54 assert_search "animal", ["Creature", "Beast"], {}, Animal
53 55 end
... ...