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/attribute_transformation.feature | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 vendor/plugins/thinking-sphinx/features/attribute_transformation.feature (limited to 'vendor/plugins/thinking-sphinx/features/attribute_transformation.feature') diff --git a/vendor/plugins/thinking-sphinx/features/attribute_transformation.feature b/vendor/plugins/thinking-sphinx/features/attribute_transformation.feature new file mode 100644 index 0000000..d987bbd --- /dev/null +++ b/vendor/plugins/thinking-sphinx/features/attribute_transformation.feature @@ -0,0 +1,22 @@ +Feature: Handle not-quite-supported column types as attributes + In order for Thinking Sphinx to be more understanding with model structures + The plugin + Should be able to use translatable columns as attributes + + Scenario: Decimals as floats + Given Sphinx is running + And I am searching on alphas + When I filter between 1.0 and 3.0 on cost + Then I should get 2 results + + Scenario: Dates as Datetimes + Given Sphinx is running + And I am searching on alphas + When I filter between 1 and 3 days ago on created_on + Then I should get 2 results + + Scenario: Timestamps as Datetimes + Given Sphinx is running + And I am searching on alphas + When I filter between 1 and 3 days ago on created_at + Then I should get 2 results \ No newline at end of file -- cgit v1.3