spec/api/query/highlighting_spec.rb in sunspot-0.10.2 vs spec/api/query/highlighting_spec.rb in sunspot-0.10.3
- old
+ new
@@ -103,14 +103,14 @@
end
it 'enables merging of continuous fragments' do
session.search(Post) do
keywords 'test' do
- highlight :merge_continuous_fragments => true
+ highlight :merge_contiguous_fragments => true
end
end
connection.should have_last_search_with(
- :"hl.mergeContinuous" => 'true'
+ :"hl.mergeContiguous" => 'true'
)
end
it 'enables use of phrase highlighter' do #TODO figure out what the hell this means
session.search(Post) do