summaryrefslogtreecommitdiff
path: root/spec/rubyspec/library/socket/unixserver/shared/new.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/library/socket/unixserver/shared/new.rb')
-rw-r--r--spec/rubyspec/library/socket/unixserver/shared/new.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/spec/rubyspec/library/socket/unixserver/shared/new.rb b/spec/rubyspec/library/socket/unixserver/shared/new.rb
deleted file mode 100644
index 2018140caa..0000000000
--- a/spec/rubyspec/library/socket/unixserver/shared/new.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-require File.expand_path('../../../../../spec_helper', __FILE__)
-require File.expand_path('../../../fixtures/classes', __FILE__)
-require 'tempfile'
-
-describe :unixserver_new, shared: true do
- platform_is_not :windows do
- before :each do
- @path = SocketSpecs.socket_path
- end
-
- after :each do
- @server.close if @server
- @server = nil
- SocketSpecs.rm_socket @path
- end
-
- it "creates a new UNIXServer" do
- @server = UNIXServer.send(@method, @path)
- @server.path.should == @path
- @server.addr.should == ["AF_UNIX", @path]
- end
- end
-end