Sha256: bec6344bd47cf993653cc680df80d83dcc89ef2b960311c1c3a5a15eb05518c8
Contents?: true
Size: 564 Bytes
Versions: 45
Compression:
Stored size: 564 Bytes
Contents
require 'spec_helper' describe Krikri::Enrichments::StripPunctuation do it_behaves_like 'a field enrichment' values = [{ :string => 'removes punctuation from fields', :start => "\tmoominpapa;... !@#$ moominmama ", :end => "\tmoominpapa moominmama " }, { :string => 'leaves other fields unaltered', :start => "\tmoominpapa moominmama", :end => "\tmoominpapa moominmama" }] it_behaves_like 'a string enrichment', values include_examples 'skips non-strings' end
Version data entries
45 entries across 45 versions & 1 rubygems