Sha256: bfd35b98f5e51f38d48391c217518b4c7df3fb8bad442ac66956a8b0805826eb

Contents?: true

Size: 417 Bytes

Versions: 34

Compression:

Stored size: 417 Bytes

Contents

When /^I use the ([\w]+) scope$/ do |scope|
  @results = results.send(scope.to_sym)
end

When /^I use the ([\w]+) scope set to "([^\"]*)"$/ do |scope, value|
  @results = results.send(scope.to_sym, value)
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

Version data entries

34 entries across 34 versions & 11 rubygems

Version Path
joshcutler-thinking-sphinx-1.3.18 features/step_definitions/scope_steps.rb
angelf-thinking-sphinx-1.3.18 features/step_definitions/scope_steps.rb
skalee-thinking-sphinx-1.3.14.2 features/step_definitions/scope_steps.rb
skalee-thinking-sphinx-1.3.14.1 features/step_definitions/scope_steps.rb
thorsson_thinking-sphinx-1.3.18 features/step_definitions/scope_steps.rb
thinking-sphinx-allen-1.3.18.4 features/step_definitions/scope_steps.rb
thinking-sphinx-allen-1.3.18.3 features/step_definitions/scope_steps.rb
thinking-sphinx-allen-1.3.18.2 features/step_definitions/scope_steps.rb
thinking-sphinx-2.0.0.rc1 features/step_definitions/scope_steps.rb
thinking-sphinx-allen-1.3.18.1 features/step_definitions/scope_steps.rb
thinking-sphinx-allen-1.3.18 features/step_definitions/scope_steps.rb
thinking-sphinx-1.3.18 features/step_definitions/scope_steps.rb
josh_cutler-thinking-sphinx-1.3.17 features/step_definitions/scope_steps.rb
hawkerb-thinking-sphinx-1.3.18 features/step_definitions/scope_steps.rb
thinking-sphinx-1.3.17 features/step_definitions/scope_steps.rb
warp-thinking-sphinx-1.3.16 features/step_definitions/scope_steps.rb
thinking-sphinx-1.3.16 features/step_definitions/scope_steps.rb
hawkerb-thinking-sphinx-1.3.17 features/step_definitions/scope_steps.rb
thinking-sphinx-1.3.15 features/step_definitions/scope_steps.rb
hawkerb-thinking-sphinx-1.3.16 features/step_definitions/scope_steps.rb