Sha256: c28beae474c60365e7afc4ee7e49290882a13e0b8f9dd2d36a969035769c016f
Contents?: true
Size: 343 Bytes
Versions: 9
Compression:
Stored size: 343 Bytes
Contents
RSpec.shared_context :start_tokyotyrant do |port| before :context do @tokyotyrant = spawn("ttserver -port #{port} -le -log #{tempdir}/tokyotyrant#{port}.log #{tempdir}/tokyotyrant#{port}.tch") sleep 0.5 end after :context do Process.kill("TERM", @tokyotyrant) Process.wait(@tokyotyrant) @tokyotyrant = nil end end
Version data entries
9 entries across 9 versions & 1 rubygems