summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/ancillarydata/level_spec.rb
blob: a2ff216f9d59fd49c86eb51ba4bbd349933bd2df (plain)
1
2
3
4
5
6
7
8
9
require_relative '../spec_helper'

with_feature :ancillary_data do
  describe 'Socket::AncillaryData#level' do
    it 'returns the level as an Integer' do
      Socket::AncillaryData.new(:INET, :SOCKET, :RIGHTS, '').level.should == Socket::SOL_SOCKET
    end
  end
end
/a>nobu 2013-02-14* ext/socket/sockport.h (VALIDATE_SOCKLEN): new macro to validateakr 2010-12-25This ifdef should be useless after r30374.naruse 2010-04-22* ext/**/*.[ch]: removed trailing spaces.nobu 2010-04-22* ext/**/*.[ch]: removed trailing spaces.nobu 2009-12-30* ext/socket/extconf.rb: fix for wide-getaddrinfo option.nobu 2009-11-19* ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros.usa 2009-01-13 * ext/socket/{getaddrinfo,getnameinfo}.c: need to include ws2tcpip.husa 2009-01-06* ext/socket/socket.c (io_call_close, io_close, pair_yield):nobu 2008-09-19* dln.c: newer BeOS support. a patch from Pete Goodevematz 2008-08-06* eval_intern.h: Add support to Haiku. see [ruby-core:18110]naruse 2007-07-22* file.c (rb_file_s_rename): deleted code to get rid of a bug ofnobu 2007-06-10* include/ruby: moved public headers.nobu 2006-06-20* eval.c, file.c, etc.: code-cleanup patch from Stefan Huehnermatz