[Groonga-commit] droonga/droonga-engine at 8654138 [master] test: reduce scope

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 7 09:57:14 JST 2014


Kouhei Sutou	2014-10-07 09:57:14 +0900 (Tue, 07 Oct 2014)

  New Revision: 865413869d3570e659ed1012a7e03a558e7a818e
  https://github.com/droonga/droonga-engine/commit/865413869d3570e659ed1012a7e03a558e7a818e

  Message:
    test: reduce scope

  Modified files:
    test/unit/plugins/groonga/test_table_list.rb

  Modified: test/unit/plugins/groonga/test_table_list.rb (+4 -4)
===================================================================
--- test/unit/plugins/groonga/test_table_list.rb    2014-10-07 09:55:44 +0900 (e93c233)
+++ test/unit/plugins/groonga/test_table_list.rb    2014-10-07 09:57:14 +0900 (e0bd27f)
@@ -32,10 +32,6 @@ class TableListTest < GroongaHandlerTest
                                                       @loop)
   end
 
-  def table_path
-    @database_path.to_s + ".0000100"
-  end
-
   def test_success
     Groonga::Schema.define do |schema|
       schema.create_table("Books", :type => :hash)
@@ -48,6 +44,10 @@ class TableListTest < GroongaHandlerTest
   end
 
   class ListTest < self
+    def table_path
+      @database_path.to_s + ".0000100"
+    end
+
     def test_hash_table
       Groonga::Schema.define do |schema|
         schema.create_table("Books", :type => :hash)
-------------- next part --------------
HTML����������������������������...
Download 



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