summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/step_definitions/sphinx_steps.rb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2011-02-10 14:19:00 +0100
committerhukl <contact@smyck.org>2011-02-10 14:19:00 +0100
commit7379daad1c73bd3610ed296436250b417ac3673d (patch)
tree04f722efc678de9d3aa5bf8f1c96e3be33b18bc4 /vendor/plugins/thinking-sphinx/features/step_definitions/sphinx_steps.rb
parent91633ac4419d839661e35ae8f2efe5c9089cfb67 (diff)
removed thinking_sphinx plugin and replaced it with gem.
also tuned dependencies
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/step_definitions/sphinx_steps.rb')
-rw-r--r--vendor/plugins/thinking-sphinx/features/step_definitions/sphinx_steps.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/step_definitions/sphinx_steps.rb b/vendor/plugins/thinking-sphinx/features/step_definitions/sphinx_steps.rb
deleted file mode 100644
index 1633249..0000000
--- a/vendor/plugins/thinking-sphinx/features/step_definitions/sphinx_steps.rb
+++ /dev/null
@@ -1,27 +0,0 @@
1Given "Sphinx is running" do
2 ThinkingSphinx::Configuration.instance.controller.should be_running
3end
4
5When "I kill the Sphinx process" do
6 Process.kill(9, ThinkingSphinx.sphinx_pid.to_i)
7end
8
9When "I wait for Sphinx to catch up" do
10 sleep(0.25)
11end
12
13When "I start Sphinx" do
14 ThinkingSphinx::Configuration.instance.controller.start
15end
16
17When "I stop Sphinx" do
18 ThinkingSphinx::Configuration.instance.controller.stop
19end
20
21Then "Sphinx should be running" do
22 ThinkingSphinx.sphinx_running?.should be_true
23end
24
25Then "Sphinx should not be running" do
26 ThinkingSphinx.sphinx_running?.should be_false
27end