Sha256: b306df1aac9726dfef2a5f0609cfe36659c5e464f5861af8fe7f14f2db3b50f9
Contents?: true
Size: 720 Bytes
Versions: 14
Compression:
Stored size: 720 Bytes
Contents
Given "Sphinx is running" do ThinkingSphinx::Configuration.instance.controller.should be_running end When "I kill the Sphinx process" do Process.kill(9, ThinkingSphinx.sphinx_pid.to_i) end When "I wait for Sphinx to catch up" do sleep(0.25) end When /^I start Sphinx/ do ThinkingSphinx::Configuration.instance.controller.start end When "I stop Sphinx" do ThinkingSphinx::Configuration.instance.controller.stop end Then /^Sphinx should be running/ do ThinkingSphinx.sphinx_running?.should be_true end Then "Sphinx should not be running" do ThinkingSphinx.sphinx_running?.should be_false end When /^I (enable|disable) delta updates$/ do |mode| ThinkingSphinx.deltas_enabled = (mode == 'enable') end
Version data entries
14 entries across 14 versions & 4 rubygems