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:
parent
686a4e2491
commit
61a33fa8e2
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue