blob: d987bbd4f3628c47255a7683c1b78929820fb1ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
|