1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Simplify to a more standardized Socket SCM constant in specs

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2018-08-18 19:36:41 +00:00
parent 686a4e2491
commit 61a33fa8e2

View file

@ -89,12 +89,7 @@ describe "Socket::Constants" do
platform_is_not :windows do
it 'defines SCM options' do
platform_is :darwin, :freebsd, :solaris do
Socket::Constants.should have_constant('SCM_CREDS')
end
platform_is_not :darwin, :freebsd, :solaris do
Socket::Constants.should have_constant('SCM_CREDENTIALS')
end
Socket::Constants.should have_constant('SCM_RIGHTS')
end
it 'defines error options' do