summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/unixserver
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-25 10:41:16 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-25 10:41:16 +0000
commite87fb88be844f0fae736768846954b6f6f7dc7c3 (patch)
treecbe2ab069e40b5b7f3217ce95b793426b303a305 /spec/ruby/library/socket/unixserver
parente59bf54b3a88d0465cca021afae7dc05b6db57a7 (diff)
Update to ruby/spec@241f9e7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/library/socket/unixserver')
-rw-r--r--spec/ruby/library/socket/unixserver/sysaccept_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/ruby/library/socket/unixserver/sysaccept_spec.rb b/spec/ruby/library/socket/unixserver/sysaccept_spec.rb
index 864913af82..65a35c91a9 100644
--- a/spec/ruby/library/socket/unixserver/sysaccept_spec.rb
+++ b/spec/ruby/library/socket/unixserver/sysaccept_spec.rb
@@ -31,9 +31,9 @@ with_feature :unix_socket do
end
describe 'without any data' do
- it 'returns a Fixnum' do
+ it 'returns an Integer' do
@fd = @server.sysaccept
- @fd.should be_an_instance_of(Fixnum)
+ @fd.should be_kind_of(Integer)
end
end
@@ -42,9 +42,9 @@ with_feature :unix_socket do
@client.write('hello')
end
- it 'returns a Fixnum' do
+ it 'returns an Integer' do
@fd = @server.sysaccept
- @fd.should be_an_instance_of(Fixnum)
+ @fd.should be_kind_of(Integer)
end
end
end