module GroongaClientModel::Test::Fixture

Public Instance Methods

setup_groonga(**kwargs) click to toggle source
# File lib/groonga_client_model/test/fixture.rb, line 22
def setup_groonga(**kwargs)
  @groonga_server_runner = GroongaServerRunner.new(**kwargs)
  @groonga_server_runner.run
end
teardown_groonga() click to toggle source
# File lib/groonga_client_model/test/fixture.rb, line 27
def teardown_groonga
  return if @groonga_server_runner.nil?
  @groonga_server_runner.stop
end