[Groonga-commit] long-long-float/droonga-engine at d606c23 [master] Override DROONGA_BASE_DIR while testing

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Aug 20 18:05:28 JST 2014


YUKI Hiroshi	2014-08-20 18:05:28 +0900 (Wed, 20 Aug 2014)

  New Revision: d606c2344b6d5dbaa28b99c3300acfff32b901cf
  https://github.com/long-long-float/droonga-engine/commit/d606c2344b6d5dbaa28b99c3300acfff32b901cf

  Message:
    Override DROONGA_BASE_DIR while testing

  Modified files:
    test/unit/helper/sandbox.rb

  Modified: test/unit/helper/sandbox.rb (+2 -0)
===================================================================
--- test/unit/helper/sandbox.rb    2014-08-20 18:05:15 +0900 (665664e)
+++ test/unit/helper/sandbox.rb    2014-08-20 18:05:28 +0900 (801dd69)
@@ -28,6 +28,8 @@ module Sandbox
 
     @database_path = @temporary_directory + "database"
     @database = nil
+
+    ENV[Droonga::Path::BASE_DIR_ENV_NAME] = @temporary_directory.to_s
   end
 
   def setup_temporary_directory
-------------- next part --------------
HTML����������������������������...
下載 



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