Sha256: 687c87fa70bd87c4cb029f3d11bf166eb837ecbd8cbe7c7274cf09fce5b99578
Contents?: true
Size: 521 Bytes
Versions: 9
Compression:
Stored size: 521 Bytes
Contents
require 'spec_helper' describe Krikri::Enrichments::StripWhitespace do it_behaves_like 'a field enrichment' values = [{ :string => 'removes extra whitespace from fields', :start => "\tmoominpapa \t\r \nmoominmama ", :end => 'moominpapa moominmama' }, { :string => 'leaves other fields unaltered', :start => 'moominpapa moominmama', :end => 'moominpapa moominmama' }] it_behaves_like 'a string enrichment', values end
Version data entries
9 entries across 9 versions & 1 rubygems