Commit 1a27a31b074d0c291ccd64060fa25ad3764ecbf9

Authored by Andrew Kane
1 parent 202df4fc

Uncommented wordnet test

Showing 1 changed file with 5 additions and 4 deletions   Show diff stats
test/synonyms_test.rb
@@ -41,8 +41,9 @@ class SynonymsTest < Minitest::Test @@ -41,8 +41,9 @@ class SynonymsTest < Minitest::Test
41 assert_search "scallions", ["Green Onions"] 41 assert_search "scallions", ["Green Onions"]
42 end 42 end
43 43
44 - # def test_wordnet  
45 - # store_names ["Creature", "Beast", "Dragon"], Animal  
46 - # assert_search "animal", ["Creature", "Beast"], {}, Animal  
47 - # end 44 + def test_wordnet
  45 + skip unless ENV["TEST_WORDNET"]
  46 + store_names ["Creature", "Beast", "Dragon"], Animal
  47 + assert_search "animal", ["Creature", "Beast"], {}, Animal
  48 + end
48 end 49 end