spec/integration/faceting_spec.rb in sunspot-0.9.8 vs spec/integration/faceting_spec.rb in sunspot-0.10.0

- old
+ new

@@ -146,10 +146,10 @@ ) end it 'should return specified facets' do search = Sunspot.search(Post) do - facet :rating_range do + facet :rating_range, :sort => :count do for rating in [1.0, 2.0, 3.0, 4.0] range = rating..(rating + 1.0) row range do with :average_rating, rating..(rating + 1.0) end