features/step_definitions/scope_steps.rb in warp-thinking-sphinx-1.2.12 vs features/step_definitions/scope_steps.rb in warp-thinking-sphinx-1.3.10
- old
+ new
@@ -7,5 +7,9 @@
end
When /^I use the ([\w]+) scope set to (\d+)$/ do |scope, int|
@results = results.send(scope.to_sym, int.to_i)
end
+
+When /^I am retrieving the scoped result count$/ do
+ @results = results.search_count
+end