diff options
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/searching_across_models.feature')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/features/searching_across_models.feature | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/searching_across_models.feature b/vendor/plugins/thinking-sphinx/features/searching_across_models.feature new file mode 100644 index 00000000..50f59335 --- /dev/null +++ b/vendor/plugins/thinking-sphinx/features/searching_across_models.feature | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | Feature: Searching across multiple model | ||
| 2 | In order to use Thinking Sphinx's core functionality | ||
| 3 | A developer | ||
| 4 | Should be able to search on multiple models | ||
| 5 | |||
| 6 | Scenario: Retrieving total result count | ||
| 7 | Given Sphinx is running | ||
| 8 | When I search for James | ||
| 9 | And I am retrieving the result count | ||
| 10 | Then I should get a value of 3 | ||
| 11 | |||
| 12 | Scenario: Confirming existance of a document id in a given index | ||
| 13 | Given Sphinx is running | ||
| 14 | When I search for the document id of alpha one in the alpha_core index | ||
| 15 | Then it should exist | ||
| 16 | |||
| 17 | Scenario: Retrieving results from multiple models | ||
| 18 | Given Sphinx is running | ||
| 19 | When I search for ten | ||
| 20 | Then I should get 6 results | ||
