[Groonga-commit] droonga/fluent-plugin-droonga at 0407901 [master] Remove duplicated definition of methods

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 20 12:57:18 JST 2013


YUKI Hiroshi	2013-11-20 12:57:18 +0900 (Wed, 20 Nov 2013)

  New Revision: 04079011687944642fc90c97b702f740f23f950e
  https://github.com/droonga/fluent-plugin-droonga/commit/04079011687944642fc90c97b702f740f23f950e

  Message:
    Remove duplicated definition of methods

  Modified files:
    test/plugin/handler/test_handler_groonga.rb

  Modified: test/plugin/handler/test_handler_groonga.rb (+0 -12)
===================================================================
--- test/plugin/handler/test_handler_groonga.rb    2013-11-20 12:50:40 +0900 (7e387fb)
+++ test/plugin/handler/test_handler_groonga.rb    2013-11-20 12:57:18 +0900 (683cdf5)
@@ -27,18 +27,6 @@ class GroongaHandlerTest < Test::Unit::TestCase
   end
 
   private
-  def setup_database
-    FileUtils.rm_rf(@database_path.dirname.to_s)
-    FileUtils.mkdir_p(@database_path.dirname.to_s)
-    @database = Groonga::Database.create(:path => @database_path.to_s)
-  end
-
-  def teardown_database
-    @database.close
-    @database = nil
-    FileUtils.rm_rf(@database_path.dirname.to_s)
-  end
-
   def setup_handler
     @worker = StubWorker.new
     @handler = Droonga::GroongaHandler.new(@worker)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index