[DRE-commits] [SCM] ruby-stomp.git branch, master, updated. debian/1.2.7-1-2-g6e7ad16

Jonas Genannt jonas at brachium-system.net
Fri Nov 9 20:22:45 UTC 2012


The following commit has been merged in the master branch:
commit 7e7728a72c6e7e993e72e98393e8d4cf250ed243
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Fri Nov 9 21:11:46 2012 +0100

    resolved merge problem in 1.2.7-1

diff --git a/test/test_connection.rb b/test/test_connection.rb
index f990299..216e26f 100644
--- a/test/test_connection.rb
+++ b/test/test_connection.rb
@@ -510,35 +510,5 @@ class TestConnection < Test::Unit::TestCase
     c.disconnect if c
   end
 
-  # Test to illustrate Issue #44.  Prior to a fix for #44, these tests would
-  # fail only when connecting to a pure STOMP 1.0 server that does not 
-  # return a 'version' header at all.
-  def test_conn10_simple
-    @conn.disconnect
-    #
-    hash = { :hosts => [ 
-      {:login => user, :passcode => passcode, :host => host, :port => port, :ssl => false},
-      ],
-      :connect_headers => {"accept-version" => "1.0", "host" => host},
-      :reliable => false,
-    }
-    c = nil
-    assert_nothing_raised {
-      c = Stomp::Connection.new(hash)
-    }
-    c.disconnect if c
-    #
-    hash = { :hosts => [ 
-      {:login => user, :passcode => passcode, :host => host, :port => port, :ssl => false},
-      ],
-      :connect_headers => {"accept-version" => "3.14159,1.0,12.0", "host" => host},
-      :reliable => false,
-    }
-    c = nil
-    assert_nothing_raised {
-      c = Stomp::Connection.new(hash)
-    }
-    c.disconnect if c
-  end
 end
 

-- 
ruby-stomp.git



More information about the Pkg-ruby-extras-commits mailing list