spec/lib/application_spec.rb in picky-0.2.1 vs spec/lib/application_spec.rb in picky-0.2.2
- old
+ new
@@ -22,10 +22,10 @@
field(:isbn, :partial => Partial::None.new) # Partially searching on an ISBN makes not much sense.
# Note that Picky needs the following characters to
# pass through, as they are control characters: *"~:
#
- querying.removes_characters(/[^a-zA-Z0-9\s\/\-\,\&\"\~\*\:]/)
+ querying.removes_characters(/[^a-zA-Z0-9äöü\s\/\-\,\&\"\~\*\:]/)
querying.stopwords(/\b(and|the|of|it|in|for)\b/)
querying.splits_text_on(/[\s\/\-\,\&]+/)
querying.normalizes_words([
[/Deoxyribonucleic Acid/i, 'DNA']
])
\ No newline at end of file