diff options
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature b/vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature deleted file mode 100644 index 5be4c4e..0000000 --- a/vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | Feature: Delayed Delta Indexing | ||
| 2 | In order to have delta indexing on frequently-updated sites | ||
| 3 | Developers | ||
| 4 | Should be able to use delayed_job to handle delta indexes to lower system load | ||
| 5 | |||
| 6 | Scenario: Delta Index should not fire automatically | ||
| 7 | Given Sphinx is running | ||
| 8 | And I am searching on delayed betas | ||
| 9 | When I search for one | ||
| 10 | Then I should get 1 result | ||
| 11 | |||
| 12 | When I change the name of delayed beta 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 delayed betas | ||
| 23 | When I search for one | ||
| 24 | Then I should get 1 result | ||
| 25 | |||
| 26 | When I change the name of delayed beta 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 run the delayed jobs | ||
| 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 \ No newline at end of file | ||
