[Groonga-commit] droonga/fluent-plugin-droonga at ac5d19d [master] Restore missing setup_scheme

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 20 12:38:11 JST 2013


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

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

  Message:
    Restore missing setup_scheme

  Modified files:
    test/helper/watch_helper.rb

  Modified: test/helper/watch_helper.rb (+3 -4)
===================================================================
--- test/helper/watch_helper.rb    2013-11-20 12:36:32 +0900 (8421d5d)
+++ test/helper/watch_helper.rb    2013-11-20 12:38:11 +0900 (0259046)
@@ -18,9 +18,8 @@ require "droonga/watch_schema"
 module WatchHelper
   include DatabaseHelper
 
-  def teardown_database
-    @database.close
-    @database = nil
-    FileUtils.rm_rf(@database_path.dirname.to_s)
+  def setup_schema
+    schema = Droonga::WatchSchema.new(Groonga::Context.default)
+    schema.ensure_created
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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