test/request_test.rb in rsolr-ext-0.9.6.5 vs test/request_test.rb in rsolr-ext-0.10.0
- old
+ new
@@ -3,11 +3,11 @@
class RSolrExtRequestTest < Test::Unit::TestCase
test 'standard request' do
solr_params = RSolr::Ext::Request.map(
- :page=>'2',
- :per_page=>'10',
+ :start=>10,
+ :rows=>10,
:phrases=>{:name=>'This is a phrase'},
:filters=>['test', {:price=>(1..10)}],
:phrase_filters=>{:manu=>['Apple']},
:queries=>'ipod',
:facets=>{:fields=>['cat', 'blah']},
\ No newline at end of file