summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.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/delayed_delta_indexing.feature
parentd3a9b46ba5c863a0ff377dcffae9a494fe476e02 (diff)
added thinking_sphinx plugin for fulltext search on nodes and heads
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature')
-rw-r--r--vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature37
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature b/vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature
new file mode 100644
index 0000000..5be4c4e
--- /dev/null
+++ b/vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature
@@ -0,0 +1,37 @@
1Feature: 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