Sha256: e7de0c227ab63793a1ac83c3fc5e134c9794742b79102f3e88eb439878c230e8
Contents?: true
Size: 524 Bytes
Versions: 4
Compression:
Stored size: 524 Bytes
Contents
require File.expand_path('../../../fixtures/classes', __FILE__) require 'tempfile' describe :unixserver_new, :shared => true do platform_is_not :windows do before :each do @path = tmp("unixserver_spec") rm_r @path end after :each do @server.close if @server @server = nil rm_r @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
Version data entries
4 entries across 4 versions & 1 rubygems