summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/attribute_transformation.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/attribute_transformation.feature
parentd3a9b46ba5c863a0ff377dcffae9a494fe476e02 (diff)
added thinking_sphinx plugin for fulltext search on nodes and heads
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/attribute_transformation.feature')
-rw-r--r--vendor/plugins/thinking-sphinx/features/attribute_transformation.feature22
1 files changed, 22 insertions, 0 deletions
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 @@
1Feature: Handle not-quite-supported column types as attributes
2 In order for Thinking Sphinx to be more understanding with model structures
3 The plugin
4 Should be able to use translatable columns as attributes
5
6 Scenario: Decimals as floats
7 Given Sphinx is running
8 And I am searching on alphas
9 When I filter between 1.0 and 3.0 on cost
10 Then I should get 2 results
11
12 Scenario: Dates as Datetimes
13 Given Sphinx is running
14 And I am searching on alphas
15 When I filter between 1 and 3 days ago on created_on
16 Then I should get 2 results
17
18 Scenario: Timestamps as Datetimes
19 Given Sphinx is running
20 And I am searching on alphas
21 When I filter between 1 and 3 days ago on created_at
22 Then I should get 2 results \ No newline at end of file