diff options
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/datetime_deltas.feature')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/features/datetime_deltas.feature | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/datetime_deltas.feature b/vendor/plugins/thinking-sphinx/features/datetime_deltas.feature deleted file mode 100644 index 8039c28..0000000 --- a/vendor/plugins/thinking-sphinx/features/datetime_deltas.feature +++ /dev/null | |||
| @@ -1,66 +0,0 @@ | |||
| 1 | Feature: Datetime Delta Indexing | ||
| 2 | In order to have delta indexing on frequently-updated sites | ||
| 3 | Developers | ||
| 4 | Should be able to use an existing datetime column to track changes | ||
| 5 | |||
| 6 | Scenario: Delta Index should not fire automatically | ||
| 7 | Given Sphinx is running | ||
| 8 | And I am searching on thetas | ||
| 9 | When I search for one | ||
| 10 | Then I should get 1 result | ||
| 11 | |||
| 12 | When I change the name of theta one to eleven | ||
| 13 | And I wait for Sphinx to catch up | ||
| 14 | And I search for one | ||
| 15 | Then I should get 1 result | ||
| 16 | |||
| 17 | When I search for eleven | ||
| 18 | Then I should get 0 results | ||
| 19 | |||
| 20 | Scenario: Delta Index should fire when jobs are run | ||
| 21 | Given Sphinx is running | ||
| 22 | And I am searching on thetas | ||
| 23 | When I search for two | ||
| 24 | Then I should get 1 result | ||
| 25 | |||
| 26 | When I change the name of theta two to twelve | ||
| 27 | And I wait for Sphinx to catch up | ||
| 28 | And I search for twelve | ||
| 29 | Then I should get 0 results | ||
| 30 | |||
| 31 | When I index the theta datetime delta | ||
| 32 | And I wait for Sphinx to catch up | ||
| 33 | And I search for twelve | ||
| 34 | Then I should get 1 result | ||
| 35 | |||
| 36 | When I search for two | ||
| 37 | Then I should get 0 results | ||
| 38 | |||
| 39 | Scenario: New records should be merged into the core index | ||
| 40 | Given Sphinx is running | ||
| 41 | And I am searching on thetas | ||
| 42 | When I search for thirteen | ||
| 43 | Then I should get 0 results | ||
| 44 | |||
| 45 | When I create a new theta named thirteen | ||
| 46 | And I search for thirteen | ||
| 47 | Then I should get 0 results | ||
| 48 | |||
| 49 | When I index the theta datetime delta | ||
| 50 | And I wait for Sphinx to catch up | ||
| 51 | And I search for thirteen | ||
| 52 | Then I should get 1 result | ||
| 53 | |||
| 54 | When I search for the document id of theta thirteen in the theta_core index | ||
| 55 | Then it should exist | ||
| 56 | |||
| 57 | Scenario: Deleting records | ||
| 58 | Given Sphinx is running | ||
| 59 | And I am searching on thetas | ||
| 60 | When I search for three | ||
| 61 | Then I should get 1 result | ||
| 62 | |||
| 63 | When I delete the theta named three | ||
| 64 | And I wait for Sphinx to catch up | ||
| 65 | And I search for three | ||
| 66 | Then I should get 0 results | ||
