sul-dlss/sw_index_tests — pull request #31 by lmcglohon (2014-08-01 15:49:33+00:00)
Title: Fixed tests by increasing have_exactly and have_at_most values

@ndushay
1) advanced search subject and keyword subject -congresses, keyword IEEE xplore subject NOT congresses and keyword
Failure/Error: resp.should have_at_most(1500).results
expected at most 1500 results, got 1501
# ./spec/advanced_search_spec.rb:119: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(136400).results
expected at most 136400 results, got 136478
# ./spec/advanced_search_spec.rb:339: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(125100).results
expected at most 125100 results, got 125244
# ./spec/advanced_search_spec.rb:344:in `block (4 levels) in '

4) Japanese Everything Searches seven wonders 七不思議 behaves like result size and vern short title matches first everything search has 3 results
Failure/Error: resp.should have_exactly(min).results
expected 3 results, got 4
Shared Example Group: "result size and vern short title matches first" called from ./spec/cjk/japanese_everything_spec.rb:103
# ./spec/support/shared_examples_cjk.rb:5:in `block (2 levels) in '