Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5ae0384
)
Add spec for BinaryProtocolFactory
author
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:07:50 +0000
(
01:07
+0000)
committer
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:07:50 +0000
(
01:07
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668953
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/spec/binaryprotocol_spec.rb
patch
|
blob
|
history
diff --git
a/lib/rb/spec/binaryprotocol_spec.rb
b/lib/rb/spec/binaryprotocol_spec.rb
index
4a9fd3c
..
c3ad5e1
100644
(file)
--- a/
lib/rb/spec/binaryprotocol_spec.rb
+++ b/
lib/rb/spec/binaryprotocol_spec.rb
@@
-272,4
+272,10
@@
class ThriftSpec < Spec::ExampleGroup
@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