sul-dlss/sw_index_tests — pull request #34 by lmcglohon (2014-08-11 16:21:44+00:00)
Title: Fixed four tests: increased have_at_most value

@ndushay
1) Japanese Title searches tale kanji behaves like both scripts get expected result size title search has between 2351 and 2455 results
Failure/Error: resp.should have_at_most(max).results
expected at most 2455 results, got 2456
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 '

2) Japanese Title searches tale kanji behaves like both scripts get expected result size title search has between 2351 and 2455 results
Failure/Error: resp.should have_at_most(max).results
expected at most 2455 results, got 2456
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 '

3) Korean spacing hangul + hancha Beauty of Korea 韓國의 美 (normal spacing) behaves like good results for 韓國의 美 behaves like good results for query everything search has between 30 and 45 results
Failure/Error: resp.should have_at_most(max).results
expected at most 45 results, got 50
Shared Example Group: "good results for query" called from ./spec/cjk/korean_spacing_spec.rb:336
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

4) Korean spacing hangul + hancha Beauty of Korea 韓國 의 美 (spacing in catalog) behaves like good results for 韓國의 美 behaves like good results for query everything search has between 30 and 45 results
Failure/Error: resp.should have_at_most(max).results
expected at most 45 results, got 51
Shared Example Group: "good results for query" called from ./spec/cjk/korean_spacing_spec.rb:336
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '