features/step_definitions/common_steps.rb in thinking-sphinx-2.0.14 vs features/step_definitions/common_steps.rb in thinking-sphinx-2.1.0
- old
+ new
@@ -44,9 +44,13 @@
When /^I search for (\w+)$/ do |query|
@results = nil
@query = query
end
+When /^I clear the connection pool$/ do
+ ThinkingSphinx::Connection.pool.clear
+end
+
When /^I search for "([^\"]*)"$/ do |query|
@results = nil
@query = query
end