test/lsi/lsi_test.rb in luisparravicini-classifier-1.4.1 vs test/lsi/lsi_test.rb in luisparravicini-classifier-1.4.2
- old
+ new
@@ -155,13 +155,13 @@
lsi.add_item @str2, "Dog"
lsi.add_item @str3, "Cat"
lsi.add_item @str4, "Cat"
lsi.add_item @str5, "Bird"
- assert_equal [:dog, :text, :deal], lsi.highest_ranked_stems(@str1)
+ assert_equal ['dog', 'text', 'deal'], lsi.highest_ranked_stems(@str1)
end
def test_summary
assert_equal "This text involves dogs too [...] This text also involves cats", [@str1, @str2, @str3, @str4, @str5].join.summary(2)
end
-end
\ No newline at end of file
+end