Sha256: 397e8f532afc4ea25bd9f63a2e18fe8a29aaad375b3537048b4699e711f78971

Contents?: true

Size: 1.32 KB

Versions: 34

Compression:

Stored size: 1.32 KB

Contents

Feature: Sphinx Scopes

  Scenario: Single Scope
    Given Sphinx is running
    And I am searching on people
    When I use the with_first_name scope set to "Andrew"
    Then I should get 7 results

  Scenario: Two Field Scopes
    Given Sphinx is running
    And I am searching on people
    When I use the with_first_name scope set to "Andrew"
    And I use the with_last_name scope set to "Byrne"
    Then I should get 1 result

  Scenario: Mixing Filter and Field Scopes
    Given Sphinx is running
    And I am searching on people
    When I use the with_first_name scope set to "Andrew"
    And I use the with_id scope set to 99
    Then I should get 1 result
  
  Scenario: Mixing Field and ID Scopes
    Given Sphinx is running
    And I am searching on people
    When I use the with_first_name scope set to "Andrew"
    And I use the ids_only scope
    Then I should get 7 results
    And I should have an array of integers
  
  Scenario: Non-field/filter Scopes
    Given Sphinx is running
    And I am searching on people
    When I use the ids_only scope
    Then I should have an array of integers
  
  Scenario: Counts with scopes
    Given Sphinx is running
    And I am searching on people
    When I use the with_first_name scope set to "Andrew"
    And I am retrieving the scoped result count
    Then I should get a value of 7

Version data entries

34 entries across 34 versions & 11 rubygems

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