[milter-manager-commit] milter-manager/milter-manager at c132989 [master] test: simplify

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jun 28 00:21:25 JST 2017


Kouhei Sutou	2017-06-28 00:21:25 +0900 (Wed, 28 Jun 2017)

  New Revision: c132989d4b6264f770ff2000c446ce4ee720b0a4
  https://github.com/milter-manager/milter-manager/commit/c132989d4b6264f770ff2000c446ce4ee720b0a4

  Message:
    test: simplify

  Modified files:
    binding/ruby/test/manager/test-rspamd-proxy-detector.rb

  Modified: binding/ruby/test/manager/test-rspamd-proxy-detector.rb (+1 -1)
===================================================================
--- binding/ruby/test/manager/test-rspamd-proxy-detector.rb    2017-06-28 00:20:19 +0900 (7b10e24)
+++ binding/ruby/test/manager/test-rspamd-proxy-detector.rb    2017-06-28 00:21:25 +0900 (b0687b0)
@@ -4,7 +4,7 @@ class TestRspamdProxyDetector < Test::Unit::TestCase
   test "detect" do |(bind_socket, expected)|
     detector = ::Milter::Manager::RspamdProxyDetector.new
     stub(File).executable?("/usr/bin/rspamadm") { true }
-    stub(detector).__double_definition_create__.call("`".to_sym, "/usr/bin/rspamadm configdump --json") do
+    stub(detector).`("/usr/bin/rspamadm configdump --json") do
       {
         "worker" => [
           {
-------------- next part --------------
An HTML attachment was scrubbed...
Télécharger 



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