spec/functional/facets_spec.rb in picky-4.5.9 vs spec/functional/facets_spec.rb in picky-4.5.10

- old
+ new

@@ -114,9 +114,14 @@ } end end describe 'facets' do + it 'is fast enough' do + performance_of { + 10.times { finder.facets(:age_category, filter: 'surname:meier name:peter') } + }.should < 0.0025 + end it 'filters them correctly' do # It has one facet. # # TODO Fix problems with alternative qualifiers (like :age). #