You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by kc...@apache.org on 2008/06/18 03:07:51 UTC

svn commit: r668953 - /incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb

Author: kclark
Date: Tue Jun 17 18:07:50 2008
New Revision: 668953

URL: http://svn.apache.org/viewvc?rev=668953&view=rev
Log:
Add spec for BinaryProtocolFactory

Modified:
    incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb

Modified: incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb?rev=668953&r1=668952&r2=668953&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb (original)
+++ incubator/thrift/trunk/lib/rb/spec/binaryprotocol_spec.rb Tue Jun 17 18:07:50 2008
@@ -272,4 +272,10 @@
       @prot.read_string.should == str
     end
   end
+
+  describe BinaryProtocolFactory do
+    it "should create a BinaryProtocol" do
+      BinaryProtocolFactory.new.get_protocol(mock("MockTransport")).should be_instance_of BinaryProtocol
+    end
+  end
 end