sul-dlss/sw_index_tests — pull request #52 by lmcglohon (2014-09-29 15:33:29+00:00)
Title: Fixed failures by increasing have_at_most values

Increased rows because items have gotten farther apart in the results

1) advanced search pub info subject 'soviet union and historiography' and pub info '1910-1911 pub info 2010
Failure/Error: resp.should have_at_most(137250).results
expected at most 137250 results, got 137269
# ./spec/advanced_search_spec.rb:340:in `block (4 levels) in '

2) advanced search facets format video, location green, language english before topics selected
Failure/Error: resp.should have_at_most(35350).results
expected at most 35350 results, got 35359
# ./spec/advanced_search_spec.rb:403:in `block (4 levels) in '

3) Default Request Handler q of 'Buddhism' should get 8,500-10,700 results
Failure/Error: resp.should have_at_most(10700).documents
expected at most 10700 documents, got 10702
# ./spec/default_req_handler_spec.rb:8:in `block (2 levels) in '

4) mm threshold setting for dismax (6 as of 2012/08) queries with many terms 6 terms should all matter: shanghai social life customs 20th century
Failure/Error: resp.should have_at_most(30).documents
expected at most 30 documents, got 31
# ./spec/dismax_mm_setting_spec.rb:28:in `block (3 levels) in '

5) sorting results empty query with facet format_main_ssim:Book; default sort should be by pub date desc then title asc
Failure/Error: resp.should include('10343020').before('10343019')
# ./spec/sort_spec.rb:22:in `block (3 levels) in '

@ndushay