spec/util_spec.rb in mongoid_search-0.2.3 vs spec/util_spec.rb in mongoid_search-0.2.4

- old
+ new

@@ -35,6 +35,10 @@ end it "should ignore keywords with less than two words" do Util.keywords("A runner running", false, "").should_not include "a" end + + it "should not ignore numbers" do + Util.keywords("Ford T 1908", false, "").should include "1908" + end end