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