[Groonga-commit] groonga/fluent-plugin-droonga at b59849b [master] test adapter_select: use self-descriptive name

Back to archive index

Kosuke Asami null+****@clear*****
Tue Jul 23 14:48:50 JST 2013


Kosuke Asami	2013-07-23 14:48:50 +0900 (Tue, 23 Jul 2013)

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

  Message:
    test adapter_select: use self-descriptive name
    
    @groonga_adapter ->
    @select

  Modified files:
    test/plugin/adapter/groonga/test_select.rb

  Modified: test/plugin/adapter/groonga/test_select.rb (+3 -3)
===================================================================
--- test/plugin/adapter/groonga/test_select.rb    2013-07-23 14:43:48 +0900 (c8af2be)
+++ test/plugin/adapter/groonga/test_select.rb    2013-07-23 14:48:50 +0900 (fb11185)
@@ -17,7 +17,7 @@ require "droonga/plugin/adapter/groonga/select"
 
 class AdapterGroongaSelectTest < Test::Unit::TestCase
   def setup
-    @groonga_adapter = Droonga::GroongaAdapter::Select.new
+    @select = Droonga::GroongaAdapter::Select.new
   end
 
   class RequestTest < self
@@ -50,7 +50,7 @@ class AdapterGroongaSelectTest < Test::Unit::TestCase
 
     private
     def convert(select_request)
-      @groonga_adapter.convert_request(select_request)
+      @select.convert_request(select_request)
     end
   end
 
@@ -83,7 +83,7 @@ class AdapterGroongaSelectTest < Test::Unit::TestCase
 
     private
     def convert(search_response)
-      @groonga_adapter.convert_response(search_response)
+      @select.convert_response(search_response)
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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