Sha256: 06e26c2e7d09d582d0bfe5ff6e12039002ad4ee9d0bea52671c5bd599080fc1a
Contents?: true
Size: 582 Bytes
Versions: 9
Compression:
Stored size: 582 Bytes
Contents
require File.expand_path('spec_helper', File.dirname(__FILE__)) shared_examples_for 'spellcheck query' do it 'sends spellcheck parameters to solr' do search do spellcheck end connection.should have_last_search_including(:spellcheck, true) end it "sends additional spellcheck parameters with camel casing" do search do spellcheck :only_more_popular => true, :count => 5 end connection.should have_last_search_including('spellcheck.onlyMorePopular', true) connection.should have_last_search_including('spellcheck.count', 5) end end
Version data entries
9 entries across 9 versions & 2 rubygems