Commit 0d8abe31f06ac1ec5f0e376ee0a5e0996b8cfac7
1 parent
78da760b
Exists in
master
and in
19 other branches
Added another phrase match test
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
test/match_test.rb
... | ... | @@ -245,6 +245,11 @@ class MatchTest < Minitest::Test |
245 | 245 | assert_search "fresh honey", ["Fresh Honey"], match: :phrase |
246 | 246 | end |
247 | 247 | |
248 | + def test_phrase_again | |
249 | + store_names ["Social entrepreneurs don't have it easy raising capital"] | |
250 | + assert_search "social entrepreneurs don't have it easy raising capital", ["Social entrepreneurs don't have it easy raising capital"], match: :phrase | |
251 | + end | |
252 | + | |
248 | 253 | def test_phrase_order |
249 | 254 | store_names ["Wheat Bread", "Whole Wheat Bread"] |
250 | 255 | assert_order "wheat bread", ["Wheat Bread", "Whole Wheat Bread"], match: :phrase | ... | ... |