commit | e977a63293c65466d8d66baef12e5ea340d6a6f3 | [log] [tgz] |
---|---|---|
author | Kevin Clark <kclark@apache.org> | Wed Jun 18 01:07:50 2008 +0000 |
committer | Kevin Clark <kclark@apache.org> | Wed Jun 18 01:07:50 2008 +0000 |
tree | 94651131101818bd56f4ec7e65afb2efe129aa06 | |
parent | 5ae0384d8fe748866e0d61eadf2f1d1c5233903c [diff] |
Add spec for BinaryProtocolFactory git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668953 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/spec/binaryprotocol_spec.rb b/lib/rb/spec/binaryprotocol_spec.rb index 4a9fd3c..c3ad5e1 100644 --- a/lib/rb/spec/binaryprotocol_spec.rb +++ b/lib/rb/spec/binaryprotocol_spec.rb
@@ -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