Skip to content

Commit

Permalink
Fixed one of solr_facet_params test
Browse files Browse the repository at this point in the history
  • Loading branch information
eranhirs committed Feb 15, 2014
1 parent 31955a8 commit d44c6f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/lib/blacklight/solr_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,9 @@ def facet_list_limit
# The specific params used for fetching the facet list we
# don't care about.
next if ['facets', 'facet.field', 'rows', 'facet.limit', 'facet.offset', 'facet.sort'].include?(key)
# The specific params for other facet fields than 'format' (like f.facet_ordered.facet.sort = 'count')
# we don't care about, they will return in #solr_search_params but not in #solr_facet_params
next if (key.include?('format_ordered') || key.include?('format_limited'))
# Everything else should match
expect(solr_facet_params[key]).to eq value
end
Expand Down

0 comments on commit d44c6f8

Please sign in to comment.