test/match_test.rb in searchkick-0.8.4 vs test/match_test.rb in searchkick-0.8.5
- old
+ new
@@ -151,6 +151,13 @@
def test_to_be_or_not_to_be
store_names ["to be or not to be"]
assert_search "to be", ["to be or not to be"]
end
+ def test_unsearchable
+ store [
+ {name: "Unsearchable", description: "Almond"}
+ ]
+ assert_search "almond", []
+ end
+
end