Module: Groonga::Client::Test::Fixture
- Included in:
- SpecHelper, Groonga::Client::TestHelper
- Defined in:
- lib/groonga/client/test/fixture.rb
Instance Method Summary collapse
Instance Method Details
#setup_groonga ⇒ Object
23 24 25 26 |
# File 'lib/groonga/client/test/fixture.rb', line 23 def setup_groonga @groonga_server_runner = GroongaServerRunner.new @groonga_server_runner.run end |
#teardown_groonga ⇒ Object
28 29 30 31 |
# File 'lib/groonga/client/test/fixture.rb', line 28 def teardown_groonga return if @groonga_server_runner.nil? @groonga_server_runner.stop end |