qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1513551 - /qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb
Date Tue, 13 Aug 2013 15:29:42 GMT
Author: rhs
Date: Tue Aug 13 15:29:41 2013
New Revision: 1513551

URL: http://svn.apache.org/r1513551
Log:
fixed ruby tests

Modified:
    qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb

Modified: qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb?rev=1513551&r1=1513550&r2=1513551&view=diff
==============================================================================
--- qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb (original)
+++ qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb Tue Aug 13 15:29:41 2013
@@ -40,7 +40,7 @@ class SmokeTest < Test::Unit::TestCase
     @server.receive()
 
     count.times {|i|
-      msg.content = "Hello World! #{i}"
+      msg.body = "Hello World! #{i}"
       @client.put(msg)
     }
 
@@ -51,7 +51,7 @@ class SmokeTest < Test::Unit::TestCase
         pump()
       end
       @server.get(msg2)
-      assert msg2.content == "Hello World! #{i}"
+      assert msg2.body == "Hello World! #{i}"
     }
 
     assert @client.outgoing == 0, @client.outgoing



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message