summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/searching_with_find_arguments.feature
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/searching_with_find_arguments.feature')
-rw-r--r--vendor/plugins/thinking-sphinx/features/searching_with_find_arguments.feature56
1 files changed, 0 insertions, 56 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/searching_with_find_arguments.feature b/vendor/plugins/thinking-sphinx/features/searching_with_find_arguments.feature
deleted file mode 100644
index 68a5bb9..0000000
--- a/vendor/plugins/thinking-sphinx/features/searching_with_find_arguments.feature
+++ /dev/null
@@ -1,56 +0,0 @@
1Feature: Keeping AR::Base.find arguments in search calls
2 To keep things as streamlined as possible
3 Thinking Sphinx
4 Should respect particular arguments to AR::Base.find calls
5
6 Scenario: Respecting the include option
7 Given Sphinx is running
8 And I am searching on posts
9 Then I should get 1 result
10
11 When I get the first comment
12 And I track queries
13 And I compare comments
14 Then I should have 1 query
15
16 When I include comments
17 Then I should get 1 result
18 When I track queries
19 And I compare comments
20 Then I should have 0 queries
21
22 Scenario: Respecting the include option without using a specific model
23 Given Sphinx is running
24 And I search for "Hello World"
25 Then I should get 1 result
26
27 When I get the first comment
28 And I track queries
29 And I compare comments
30 Then I should have 1 query
31
32 When I include comments
33 Then I should get 1 result
34 When I track queries
35 And I compare comments
36 Then I should have 0 queries
37
38 Scenario: Respecting the select option
39 Given Sphinx is running
40 And I am searching on posts
41 Then I should get 1 result
42 And I should not get an error accessing the subject
43
44 When I select only content
45 Then I should get 1 result
46 And I should get an error accessing the subject
47
48 Scenario: Respecting the select option without using a specific model
49 Given Sphinx is running
50 When I search for "Hello World"
51 Then I should get 1 result
52 And I should not get an error accessing the subject
53
54 When I select only content
55 Then I should get 1 result
56 And I should get an error accessing the subject \ No newline at end of file