Module: GroongaClientModel::Test::Fixture
- Included in:
- GroongaClientModel::TestHelper
- Defined in:
- lib/groonga_client_model/test/fixture.rb
Instance Method Summary collapse
Instance Method Details
#setup_groonga(**kwargs) ⇒ Object
22 23 24 25 |
# 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 ⇒ Object
27 28 29 30 |
# File 'lib/groonga_client_model/test/fixture.rb', line 27 def teardown_groonga return if @groonga_server_runner.nil? @groonga_server_runner.stop end |