lib/groonga_client_model/test/fixture.rb in groonga-client-model-1.0.2 vs lib/groonga_client_model/test/fixture.rb in groonga-client-model-6.0.0

- old
+ new

@@ -1,6 +1,6 @@ -# Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com> +# Copyright (C) 2016-2021 Sutou Kouhei <kou@clear-code.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. @@ -17,11 +17,11 @@ require "groonga_client_model/test/groonga_server_runner" module GroongaClientModel module Test module Fixture - def setup_groonga - @groonga_server_runner = GroongaServerRunner.new + def setup_groonga(**kwargs) + @groonga_server_runner = GroongaServerRunner.new(**kwargs) @groonga_server_runner.run end def teardown_groonga return if @groonga_server_runner.nil?