summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/facets_across_model.feature
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-04-28 00:15:53 +0200
committerhukl <contact@smyck.org>2009-05-01 17:14:02 +0200
commit4bd16f053847f2efe347ebda9136ef2233ee0d2c (patch)
treef4c11f89455de991c8d87726d5757b752e7129e2 /vendor/plugins/thinking-sphinx/features/facets_across_model.feature
parentd3a9b46ba5c863a0ff377dcffae9a494fe476e02 (diff)
added thinking_sphinx plugin for fulltext search on nodes and heads
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/facets_across_model.feature')
-rw-r--r--vendor/plugins/thinking-sphinx/features/facets_across_model.feature23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/facets_across_model.feature b/vendor/plugins/thinking-sphinx/features/facets_across_model.feature
new file mode 100644
index 0000000..a218601
--- /dev/null
+++ b/vendor/plugins/thinking-sphinx/features/facets_across_model.feature
@@ -0,0 +1,23 @@
1Feature: Search and browse across models by their defined facets
2
3 Scenario: Requesting facets across multiple models
4 Given Sphinx is running
5 When I am requesting facet results
6 And I want all possible attributes
7 Then I should have valid facet results
8 And I should have 8 facets
9 And I should have the facet Class
10 And the Class facet should have a "Person" key
11 And I should have the facet Gender
12 And the Gender facet should have a "female" key
13 And I should have the facet Country
14 And I should have the facet Category Name
15 And the Category Name facet should have a "hello" key with 10 hits
16
17 Scenario: Requesting facets across models without class results
18 Given Sphinx is running
19 When I am requesting facet results
20 And I want all possible attributes
21 And I don't want classes included
22 Then I should have 7 facets
23 And I should not have the facet Class