sul-dlss/sw_index_tests — pull request #59 by lmcglohon (2014-10-20 15:46:06+00:00)
Title: Fixed failures by increasing have_at_most values

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(137500).results
expected at most 137500 results, got 137506
# ./spec/advanced_search_spec.rb:340:in `block (4 levels) in '

2) advanced search pub info subject 'soviet union and historiography' and pub info '1910-1911 pub info 2011
Failure/Error: resp.should have_at_most(126650).results
expected at most 126650 results, got 126740
# ./spec/advanced_search_spec.rb:345:in `block (4 levels) in '

3) Chinese Everything china economic policy behaves like both scripts get expected result size everything search has between 250 and 325 results
Failure/Error: resp.should have_at_most(max).results
expected at most 325 results, got 327
Shared Example Group: "both scripts get expected result size" called from ./spec/cjk/chinese_everything_spec.rb:7
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

4) Chinese Everything china economic policy behaves like both scripts get expected result size everything search has between 250 and 325 results
Failure/Error: resp.should have_at_most(max).results
expected at most 325 results, got 327
Shared Example Group: "both scripts get expected result size" called from ./spec/cjk/chinese_everything_spec.rb:7
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

5) Chinese Everything history research as phrase behaves like both scripts get expected result size everything search has between 400 and 725 results
Failure/Error: resp.should have_at_most(max).results
expected at most 725 results, got 726
Shared Example Group: "both scripts get expected result size" called from ./spec/cjk/chinese_everything_spec.rb:54
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

6) Chinese Everything history research as phrase behaves like both scripts get expected result size everything search has between 400 and 725 results
Failure/Error: resp.should have_at_most(max).results
expected at most 725 results, got 726
Shared Example Group: "both scripts get expected result size" called from ./spec/cjk/chinese_everything_spec.rb:54
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

7) Japanese Title searches lantern behaves like expected result size title search has between 1 and 3 results
Failure/Error: resp.should have_at_most(max).results
expected at most 3 results, got 4
Shared Example Group: "expected result size" called from ./spec/cjk/japanese_title_spec.rb:76
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

8) Japanese Title searches tale kanji behaves like both scripts get expected result size title search has between 2400 and 2475 results
Failure/Error: resp.should have_at_most(max).results
expected at most 2475 results, got 2476
Shared Example Group: "both scripts get expected result size" called from ./spec/cjk/japanese_title_spec.rb:156
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

9) Japanese Title searches tale kanji behaves like both scripts get expected result size title search has between 2400 and 2475 results
Failure/Error: resp.should have_at_most(max).results
expected at most 2475 results, got 2476
Shared Example Group: "both scripts get expected result size" called from ./spec/cjk/japanese_title_spec.rb:156
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

10) Korean spacing Korean economy 한국경제 (no spaces) behaves like good results for 한국경제 behaves like expected result size everything search has between 650 and 775 results
Failure/Error: resp.should have_at_most(max).results
expected at most 775 results, got 781
Shared Example Group: "expected result size" called from ./spec/cjk/korean_spacing_spec.rb:153
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

11) Korean spacing Korean economy at the turning point 전환기 의 한국 경제 (spacing in catalog) behaves like good results for 전환기의 한국경제 behaves like good results for query everything search has between 3 and 550 results
Failure/Error: resp.should have_at_most(max).results
expected at most 550 results, got 556
Shared Example Group: "good results for query" called from ./spec/cjk/korean_spacing_spec.rb:209
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

12) mm threshold setting for dismax (6 as of 2012/08) queries with many terms 5 terms should all matter: royal institution library of science
Failure/Error: resp.should have_at_most(85).documents
expected at most 85 documents, got 86
# ./spec/dismax_mm_setting_spec.rb:19:in `block (3 levels) in '