blob: 1a4b04ed576db32db932ec164b1c95c134cb2d2d (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../spec_helper'
with_feature :ancillary_data do
describe 'Socket::AncillaryData#type' do
it 'returns the type as a Fixnum' do
Socket::AncillaryData.new(:INET, :SOCKET, :RIGHTS, '').type.should == Socket::SCM_RIGHTS
end
end
end
|