Sha256: dff681dcd75ef302b73ab069573c2d1ba5cd6e82b1ca09024f8f6edb37161130
Contents?: true
Size: 554 Bytes
Versions: 11
Compression:
Stored size: 554 Bytes
Contents
require 'spec_helper' describe Krikri::Enrichments::GenreFilter do it_behaves_like 'a field enrichment' values = [{ :string => 'removes non-genre terms', :start => 'Not A Term', :end => nil }, { :string => 'retains genre terms', :start => 'Book', :end => 'Book' }, { :string => 'normalizes string form', :start => "\n bO O-k! \t", :end => 'Book' }] it_behaves_like 'a string enrichment', values end
Version data entries
11 entries across 11 versions & 1 rubygems