sul-dlss/sw_index_tests — pull request #53 by lmcglohon (2014-10-06 16:20:41+00:00)
Title: Fixed multiple failures by increasing have_at_most values

1) advanced search facets format video, location green, language english add topic feature films
Failure/Error: resp.should have_at_most(18100).results
expected at most 18100 results, got 18102
# ./spec/advanced_search_spec.rb:408:in `block (4 levels) in '

2) Chinese Han variants 敎 654E (variant) => 教 6559 (std trad) behaves like expected result size title search has between 3500 and 3530 results
Failure/Error: resp.should have_at_most(max).results
expected at most 3530 results, got 3531
Shared Example Group: "expected result size" called from ./spec/cjk/chinese_han_variants_spec.rb:129
# ./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 15260 results
Failure/Error: resp.should have_at_most(max).results
expected at most 15260 results, got 15262
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 hangul + hancha Analysis of Korean economy 韓國 經濟 의 分析 (spacing in catalog) behaves like good results for 韓國經濟의 分析 behaves like good results for query everything search has between 5 and 90 results
Failure/Error: resp.should have_at_most(max).results
expected at most 90 results, got 91
Shared Example Group: "good results for query" called from ./spec/cjk/korean_spacing_spec.rb:325
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

5) Korean Titles Hangul: Korean modern history "한국 근대사" (phrase) behaves like expected result size title search has between 40 and 50 results
Failure/Error: resp.should have_at_most(max).results
expected at most 50 results, got 51
Shared Example Group: "expected result size" called from ./spec/cjk/korean_title_spec.rb:75
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

1) Author-Title Search Beethoven fidelio 1814
Failure/Error: resp.should have_at_most(210).documents
expected at most 210 documents, got 214
# ./spec/author_title_spec.rb:73:in `block (2 levels) in '

2) Tests for synonyms.txt used by Solr SynonymFilterFactory musical keys flat keys should not reduce perceived precision for reasonable non-musical searches with x flat (space) a flat world - title search
Failure/Error: resp.should have_at_most(65).documents
expected at most 65 documents, got 66
# ./spec/synonym_spec.rb:380:in `block (5 levels) in '