[Groonga-commit] ranguba/groonga-client at 882dfcc [master] Add test to prevent regression of path of load command

Back to archive index

KITAITI Makoto null+****@clear*****
Sun Feb 7 01:19:14 JST 2016


KITAITI Makoto	2016-02-07 01:19:14 +0900 (Sun, 07 Feb 2016)

  New Revision: 882dfccd7b1d4054af1e3621d763d60de6a48278
  https://github.com/ranguba/groonga-client/commit/882dfccd7b1d4054af1e3621d763d60de6a48278

  Merged 52b0230: Merge pull request #6 from KitaitiMakoto/load-bug

  Message:
    Add test to prevent regression of path of load command

  Modified files:
    test/test-client.rb

  Modified: test/test-client.rb (+8 -0)
===================================================================
--- test/test-client.rb    2016-02-07 01:18:52 +0900 (920dc30)
+++ test/test-client.rb    2016-02-07 01:19:14 +0900 (aa619c4)
@@ -392,6 +392,14 @@ EOH
       @password = nil
     end
 
+    class TestLoadPath < self
+      def test_path
+        stub_response("[]")
+        client.load(:table => "Memos", :values => [])
+        assert_equal("/d/load?table=Memos", @request_path)
+      end
+    end
+
     class TestBasicAuthentication < self
       def setup_authentication
         @user = "Aladdin"
-------------- next part --------------
HTML����������������������������...
Descargar 



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