summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/searching_across_models.feature
blob: 50f593353c64d703ca10e296b913792de8facc2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Feature: Searching across multiple model
  In order to use Thinking Sphinx's core functionality
  A developer
  Should be able to search on multiple models
  
  Scenario: Retrieving total result count
    Given Sphinx is running
    When I search for James
    And I am retrieving the result count
    Then I should get a value of 3
  
  Scenario: Confirming existance of a document id in a given index
    Given Sphinx is running
    When I search for the document id of alpha one in the alpha_core index
    Then it should exist
  
  Scenario: Retrieving results from multiple models
    Given Sphinx is running
    When I search for ten
    Then I should get 6 results