mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@032022ca
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d593aed7b7
commit
a5b83b03ad
47 changed files with 254 additions and 172 deletions
|
@ -5,16 +5,15 @@ platform_is_not :windows do
|
|||
describe "UNIXServer#accept" do
|
||||
before :each do
|
||||
@path = SocketSpecs.socket_path
|
||||
rm_r @path
|
||||
end
|
||||
|
||||
after :each do
|
||||
rm_r @path
|
||||
SocketSpecs.rm_socket @path
|
||||
end
|
||||
|
||||
it "accepts what is written by the client" do
|
||||
server = UNIXServer.open(SocketSpecs.socket_path)
|
||||
client = UNIXSocket.open(SocketSpecs.socket_path)
|
||||
server = UNIXServer.open(@path)
|
||||
client = UNIXSocket.open(@path)
|
||||
|
||||
client.send('hello', 0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue