Commit 7b160adcf00315da095771791cf241f183b2479e
1 parent
7d02c2ab
Exists in
master
and in
18 other branches
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 +6,7 @@ class LanguageTest < Minitest::Test | ||
6 | end | 6 | end |
7 | 7 | ||
8 | def test_chinese | 8 | def test_chinese |
9 | + # requires https://github.com/medcl/elasticsearch-analysis-ik | ||
9 | skip unless ENV["CHINESE"] | 10 | skip unless ENV["CHINESE"] |
10 | 11 | ||
11 | with_options(Song, language: "chinese") do | 12 | with_options(Song, language: "chinese") do |
test/synonyms_test.rb
@@ -47,7 +47,9 @@ class SynonymsTest < Minitest::Test | @@ -47,7 +47,9 @@ class SynonymsTest < Minitest::Test | ||
47 | end | 47 | end |
48 | 48 | ||
49 | def test_wordnet | 49 | def test_wordnet |
50 | - skip unless ENV["TEST_WORDNET"] | 50 | + # requires WordNet |
51 | + skip unless ENV["WORDNET"] | ||
52 | + | ||
51 | store_names ["Creature", "Beast", "Dragon"], Animal | 53 | store_names ["Creature", "Beast", "Dragon"], Animal |
52 | assert_search "animal", ["Creature", "Beast"], {}, Animal | 54 | assert_search "animal", ["Creature", "Beast"], {}, Animal |
53 | end | 55 | end |