test/test_trisulrp.rb in trisulrp-1.2.3 vs test/test_trisulrp.rb in trisulrp-1.2.4

- old
+ new

@@ -1,7 +1,16 @@ -require 'helper' +require './helper' +include TrisulRP::Protocol + class TestTrisulrp < Test::Unit::TestCase - should "probably rename this file and start testing for real" do - flunk "hey buddy, you should probably rename this file and start testing for real" - end + + def test_basic + + TrisulRP::Protocol.connect("127.0.0.1", 12001, + "Demo_Client.crt", "Demo_Client.key") do |conn| + TrisulRP::Protocol.get_available_time(conn) + end + + end + end