spec/api/client_spec.rb in rsolr-1.1.1 vs spec/api/client_spec.rb in rsolr-1.1.2
- old
+ new
@@ -349,9 +349,9 @@
result = client_with_proxy.build_request('select',
:method => :post,
:data => {:q=>'test', :fq=>[0,1]},
:headers => {}
)
- result[:uri].to_s.should match /^http:\/\/localhost:9999\/solr\//
+ expect(result[:uri].to_s).to match /^http:\/\/localhost:9999\/solr\//
end
end
end