sul-dlss/sw_index_tests — pull request #51 by lmcglohon (2014-09-25 16:17:14+00:00)
Title: Fixed failures by increasing have_at_most values

1) advanced search subject and keyword subject -congresses, keyword IEEE xplore keyword
Failure/Error: resp.should have_at_most(8900).results
expected at most 8900 results, got 8914
# ./spec/advanced_search_spec.rb:113:in `block (4 levels) in '

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

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

4) Chinese Everything history research no spaces behaves like both scripts get expected result size everything search has between 5220 and 5550 results
Failure/Error: resp.should have_at_most(max).results
expected at most 5550 results, got 5554
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 '

5) Chinese Everything history research no spaces behaves like both scripts get expected result size everything search has between 5220 and 5550 results
Failure/Error: resp.should have_at_most(max).results
expected at most 5550 results, got 5554
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 '

6) 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 15252
Shared Example Group: "expected result size" called from ./spec/cjk/chinese_han_variants_spec.rb:140
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

@ndushay