summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/unixserver/sysaccept_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/socket/unixserver/sysaccept_spec.rb')
-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