spec/functional/facets_spec.rb in picky-4.26.2 vs spec/functional/facets_spec.rb in picky-4.27.0

- old
+ new

@@ -172,17 +172,17 @@ it 'has one filtered facet' do finder.facets(:age_category, filter: 'surname:meier name:peter', counts: false).should == ['45'] end it 'has two filtered facets' do finder.facets(:surname, filter: 'age:40 name:peter', counts: false).should == [ - 'kunz', - 'hanke' + 'hanke', + 'kunz' ] end it 'has 2 facets >= count 1' do finder.facets(:surname, filter: 'age:40 name:peter', at_least: 1, counts: false).should == [ - 'kunz', - 'hanke' + 'hanke', + 'kunz' ] end it 'has 0 facets >= counts 2' do finder.facets(:surname, filter: 'age:40 name:peter', at_least: 2, counts: false).should == [] end