From 1a27a31b074d0c291ccd64060fa25ad3764ecbf9 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 15 Nov 2015 19:17:54 -0800 Subject: [PATCH] Uncommented wordnet test --- test/synonyms_test.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/synonyms_test.rb b/test/synonyms_test.rb index b4f8f3e..df8f280 100644 --- a/test/synonyms_test.rb +++ b/test/synonyms_test.rb @@ -41,8 +41,9 @@ class SynonymsTest < Minitest::Test assert_search "scallions", ["Green Onions"] end - # def test_wordnet - # store_names ["Creature", "Beast", "Dragon"], Animal - # assert_search "animal", ["Creature", "Beast"], {}, Animal - # end + def test_wordnet + skip unless ENV["TEST_WORDNET"] + store_names ["Creature", "Beast", "Dragon"], Animal + assert_search "animal", ["Creature", "Beast"], {}, Animal + end end -- libgit2 0.21.0