Module: Groonga::Client::SpecHelper

Includes:
Test::Fixture
Defined in:
lib/groonga/client/spec-helper.rb

Class Method Summary collapse

Methods included from Test::Fixture

#setup_groonga, #teardown_groonga

Class Method Details

.included(target) ⇒ Object



25
26
27
28
29
30
31
32
33
# File 'lib/groonga/client/spec-helper.rb', line 25

def included(target)
  target.before(:each) do
    setup_groonga
  end

  target.after(:each) do
    teardown_groonga
  end
end