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:
fa4a958
)
Add missing test for ServerSocket
author
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:13:27 +0000
(
01:13
+0000)
committer
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:13:27 +0000
(
01:13
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668982
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/spec/socket_spec.rb
patch
|
blob
|
history
diff --git
a/lib/rb/spec/socket_spec.rb
b/lib/rb/spec/socket_spec.rb
index
4a7dda9
..
a98d622
100644
(file)
--- a/
lib/rb/spec/socket_spec.rb
+++ b/
lib/rb/spec/socket_spec.rb
@@
-97,5
+97,9
@@
class ThriftSocketSpec < Spec::ExampleGroup
handle.should_receive(:close)
@socket.close
end
+
+ it "should return nil when accepting if there is no handle" do
+ @socket.accept.should be_nil
+ end
end
end