diff options
| author | User <hukl@cccms.ccc.de> | 2011-02-10 14:23:36 +0100 |
|---|---|---|
| committer | User <hukl@cccms.ccc.de> | 2011-02-10 14:23:36 +0100 |
| commit | 384b187e9e067ddf2bb4d5fad0c2deaf96f69c89 (patch) | |
| tree | cf743f377d3e2e28a31ae0359d95f37beba82cc3 /vendor/plugins/thinking-sphinx/features/datetime_deltas.feature | |
| parent | 3d0de09cf94cee6233b36a7f5ce20d5059854acc (diff) | |
| parent | cec2b1e2881db0000b2a09029154bea0fc62ade3 (diff) | |
Merge branch 'master' of ssh://svn.medienhaus.udk-berlin.de/usr/local/git/cccms
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 8039c284..00000000 --- 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 | ||
