summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/deleting_instances.feature
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/deleting_instances.feature')
-rw-r--r--vendor/plugins/thinking-sphinx/features/deleting_instances.feature52
1 files changed, 0 insertions, 52 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/deleting_instances.feature b/vendor/plugins/thinking-sphinx/features/deleting_instances.feature
deleted file mode 100644
index 7080a0b..0000000
--- a/vendor/plugins/thinking-sphinx/features/deleting_instances.feature
+++ /dev/null
@@ -1,52 +0,0 @@
1Feature: Keeping Sphinx in line with deleted model instances
2 In order to avoid deleted items being returned by Sphinx
3 Thinking Sphinx
4 Should keep deleted items out of search results
5
6 Scenario: Deleting instances from the core index
7 Given Sphinx is running
8 And I am searching on betas
9 When I search for three
10 Then I should get 1 result
11
12 When I destroy beta three
13 And I wait for Sphinx to catch up
14 And I search for three
15 Then I should get 0 results
16
17 Scenario: Deleting subclasses when the parent class is indexed
18 Given Sphinx is running
19 And I am searching on cats
20 When I search for moggy
21 Then I should get 1 result
22
23 When I destroy cat moggy
24 And I wait for Sphinx to catch up
25 And I search for moggy
26 Then I should get 0 results
27
28 Scenario: Deleting created instances from the delta index
29 Given Sphinx is running
30 And I am searching on betas
31 When I create a new beta named eleven
32 And I wait for Sphinx to catch up
33 And I search for eleven
34 Then I should get 1 result
35
36 When I destroy beta eleven
37 And I wait for Sphinx to catch up
38 And I search for eleven
39 Then I should get 0 results
40
41 Scenario: Deleting edited instances from the delta index
42 Given Sphinx is running
43 And I am searching on betas
44 When I change the name of beta four to fourteen
45 And I wait for Sphinx to catch up
46 And I search for fourteen
47 Then I should get 1 result
48
49 When I destroy beta fourteen
50 And I wait for Sphinx to catch up
51 And I search for fourteen
52 Then I should get 0 results