diff options
| author | hukl <contact@smyck.org> | 2011-02-10 14:19:00 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2011-02-10 14:19:00 +0100 |
| commit | 7379daad1c73bd3610ed296436250b417ac3673d (patch) | |
| tree | 04f722efc678de9d3aa5bf8f1c96e3be33b18bc4 /vendor/plugins/thinking-sphinx/features/facets.feature | |
| parent | 91633ac4419d839661e35ae8f2efe5c9089cfb67 (diff) | |
removed thinking_sphinx plugin and replaced it with gem.
also tuned dependencies
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/facets.feature')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/features/facets.feature | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/facets.feature b/vendor/plugins/thinking-sphinx/features/facets.feature deleted file mode 100644 index 8788ab4..0000000 --- a/vendor/plugins/thinking-sphinx/features/facets.feature +++ /dev/null | |||
| @@ -1,46 +0,0 @@ | |||
| 1 | Feature: Search and browse models by their defined facets | ||
| 2 | |||
| 3 | Scenario: Requesting facets | ||
| 4 | Given Sphinx is running | ||
| 5 | And I am searching on developers | ||
| 6 | When I am requesting facet results | ||
| 7 | Then I should have valid facet results | ||
| 8 | And I should have 5 facets | ||
| 9 | And I should have the facet State | ||
| 10 | And I should have the facet Country | ||
| 11 | And I should have the facet Age | ||
| 12 | And I should have the facet City | ||
| 13 | And I should have the facet Tag Ids | ||
| 14 | |||
| 15 | Scenario: Requesting facet results | ||
| 16 | Given Sphinx is running | ||
| 17 | And I am searching on developers | ||
| 18 | When I am requesting facet results | ||
| 19 | And I drill down where Country is Australia | ||
| 20 | Then I should get 11 results | ||
| 21 | |||
| 22 | Scenario: Requesting facet results by multiple facets | ||
| 23 | Given Sphinx is running | ||
| 24 | And I am searching on developers | ||
| 25 | When I am requesting facet results | ||
| 26 | And I drill down where Country is Australia and Age is 30 | ||
| 27 | Then I should get 4 results | ||
| 28 | |||
| 29 | Scenario: Requesting facets with classes included | ||
| 30 | Given Sphinx is running | ||
| 31 | And I am searching on developers | ||
| 32 | When I am requesting facet results | ||
| 33 | And I want classes included | ||
| 34 | Then I should have valid facet results | ||
| 35 | And I should have 6 facets | ||
| 36 | And I should have the facet Class | ||
| 37 | |||
| 38 | Scenario: Requesting MVA facets | ||
| 39 | Given Sphinx is running | ||
| 40 | And I am searching on developers | ||
| 41 | When I am requesting facet results | ||
| 42 | And I drill down where tag_ids includes the id of tag Australia | ||
| 43 | Then I should get 11 results | ||
| 44 | When I am requesting facet results | ||
| 45 | And I drill down where tag_ids includes the id of tags Melbourne or Sydney | ||
| 46 | Then I should get 5 results | ||
