spec/acceptance/support/sphinx_helpers.rb in thinking-sphinx-5.0.0 vs spec/acceptance/support/sphinx_helpers.rb in thinking-sphinx-5.1.0

- old
+ new

@@ -4,25 +4,25 @@ def sphinx @sphinx ||= SphinxController.new end def index(*indices) - sleep 0.5 if ENV['TRAVIS'] + sleep 0.5 if ENV['CI'] yield if block_given? sphinx.index *indices sleep 0.25 - sleep 0.5 if ENV['TRAVIS'] + sleep 0.5 if ENV['CI'] end def merge - sleep 0.5 if ENV['TRAVIS'] + sleep 0.5 if ENV['CI'] sleep 0.5 sphinx.merge sleep 1.5 - sleep 0.5 if ENV['TRAVIS'] + sleep 0.5 if ENV['CI'] end end RSpec.configure do |config| config.include SphinxHelpers