Sha256: 9d4eb1c5dd489ddcbf859dfa5b7b8d23dc965058f0ae31757f03360ef5cac4a3
Contents?: true
Size: 835 Bytes
Versions: 82
Compression:
Stored size: 835 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 When /^I (enable|disable) delta updates$/ do |mode| ThinkingSphinx.deltas_enabled = (mode == 'enable') end When /^I process the (\w+) index$/ do |index| ThinkingSphinx::Configuration.instance.controller.index index 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
Version data entries
82 entries across 82 versions & 13 rubygems