sul-dlss/sw_index_tests — pull request #35 by lmcglohon (2014-08-14 15:35:07+00:00)
Title: Fixed tests by increasing have_at_most values

@ndushay
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(136650).results
expected at most 136650 results, got 136662
# ./spec/advanced_search_spec.rb:339: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(125300).results
expected at most 125300 results, got 125322
# ./spec/advanced_search_spec.rb:344:in `block (4 levels) in '

3) Chinese Han variants 敎 654E (variant) => 教 6559 (std trad) behaves like expected result size title search has between 3490 and 3510 results
Failure/Error: resp.should have_at_most(max).results
expected at most 3510 results, got 3512
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 '

4) Japanese Kanji variants modern Kanji != simplified Han buddhism w lang limit behaves like result size and vern short title matches first everything search has between 1000 and 1350 results
Failure/Error: resp.should have_at_most(max).results
expected at most 1350 results, got 1351
Shared Example Group: "result size and vern short title matches first" called from ./spec/cjk/japanese_han_variants_spec.rb:21
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

5) Japanese Kanji variants modern Kanji != simplified Han buddhism w lang limit behaves like result size and vern short title matches first everything search has between 1000 and 1350 results
Failure/Error: resp.should have_at_most(max).results
expected at most 1350 results, got 1351
Shared Example Group: "result size and vern short title matches first" called from ./spec/cjk/japanese_han_variants_spec.rb:23
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '