From 4bd16f053847f2efe347ebda9136ef2233ee0d2c Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 28 Apr 2009 00:15:53 +0200 Subject: added thinking_sphinx plugin for fulltext search on nodes and heads --- .../features/facets_across_model.feature | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 vendor/plugins/thinking-sphinx/features/facets_across_model.feature (limited to 'vendor/plugins/thinking-sphinx/features/facets_across_model.feature') 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 @@ +Feature: Search and browse across models by their defined facets + + Scenario: Requesting facets across multiple models + Given Sphinx is running + When I am requesting facet results + And I want all possible attributes + Then I should have valid facet results + And I should have 8 facets + And I should have the facet Class + And the Class facet should have a "Person" key + And I should have the facet Gender + And the Gender facet should have a "female" key + And I should have the facet Country + And I should have the facet Category Name + And the Category Name facet should have a "hello" key with 10 hits + + Scenario: Requesting facets across models without class results + Given Sphinx is running + When I am requesting facet results + And I want all possible attributes + And I don't want classes included + Then I should have 7 facets + And I should not have the facet Class -- cgit v1.3