sul-dlss/sw_index_tests — pull request #49 by lmcglohon (2014-09-18 15:43:18+00:00)
Title: Fixed multiple failures by increasing have_at_most values

1) Chinese Everything history research no spaces behaves like both scripts get expected result size everything search has between 5220 and 5540 results
Failure/Error: resp.should have_at_most(max).results
expected at most 5540 results, got 5544
Shared Example Group: "both scripts get expected result size" called from ./spec/cjk/chinese_everything_spec.rb:48
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

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

3) Chinese Han variants 硏 784F (variant) => 研 7814 (std trad) behaves like expected result size title search has between 14750 and 15250 results
Failure/Error: resp.should have_at_most(max).results
expected at most 15250 results, got 15251
Shared Example Group: "expected result size" called from ./spec/cjk/chinese_han_variants_spec.rb:141
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

4) 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 525 results
Failure/Error: resp.should have_at_most(max).results
expected at most 525 results, got 528
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 '

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

@ndushay