Sha256: cf9cb108e8c539aa387b23299b1b4087ba322625947230689028b1c888c500c3
Contents?: true
Size: 403 Bytes
Versions: 1
Compression:
Stored size: 403 Bytes
Contents
require 'spec_helper' describe 'Blacklight Highlighing' do it "should add :hl to the solr params" do parameters = CatalogController.new.solr_search_params({:q => 'asdf'}) parameters[:hl].should == true end it "should not add :hl to the solr params if no :q param is given" do parameters = CatalogController.new.solr_search_params({}) parameters[:hl].should_not == true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight_highlight-0.1.0 | spec/integration/blacklight_highlight_spec.rb |