blob: 972beeeca061eae940c2058aaeb36381e44a5921 (
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 an Integer' do
Socket::AncillaryData.new(:INET, :SOCKET, :RIGHTS, '').type.should == Socket::SCM_RIGHTS
end
end
end
|