1 require File.dirname(__FILE__) + '/../../../../spec_helper'
2 require File.dirname(__FILE__) + '/../../fixtures/classes'
6 describe "UNIXServer.#{cmd}" do
7 not_supported_on :windows do
9 it "creates a new UNIXServer" do
10 path = tmp("unixserver_spec")
11 File.unlink(path) if File.exists?(path)
12 unix = UNIXServer.new(path)
13 unix.path.should == path
14 unix.addr.should == ["AF_UNIX", path]