spec/functional/custom_delimiters_spec.rb in picky-4.16.0 vs spec/functional/custom_delimiters_spec.rb in picky-4.17.0
- old
+ new
@@ -71,12 +71,12 @@
try.search("text1?hello text2?world").ids.should == []
Picky::Query::Token.qualifier_text_delimiter = '?'
try.search("text1?hello text2?world").ids.should == [1]
- try.search("text1|text2?hello text2?world").ids.should == []
- Picky::Query::Token.qualifiers_delimiter = '|'
- try.search("text1|text2?hello text2?world").ids.should == [1]
+ try.search("text1!text2?hello text2?world").ids.should == []
+ Picky::Query::Token.qualifiers_delimiter = '!'
+ try.search("text1!text2?hello text2?world").ids.should == [1]
end
it 'offers custom range characters to be set' do
index = Picky::Index.new :custom_range_character do
category :year