diff options
Diffstat (limited to 'spec/ruby/library/socket/tcpsocket/gethostbyname_spec.rb')
-rw-r--r-- | spec/ruby/library/socket/tcpsocket/gethostbyname_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/tcpsocket/gethostbyname_spec.rb b/spec/ruby/library/socket/tcpsocket/gethostbyname_spec.rb index 230d14bfb0..703abff81c 100644 --- a/spec/ruby/library/socket/tcpsocket/gethostbyname_spec.rb +++ b/spec/ruby/library/socket/tcpsocket/gethostbyname_spec.rb @@ -70,7 +70,7 @@ describe 'TCPSocket#gethostbyname' do end it 'includes the address family as the 3rd value' do - @array[2].should be_an_instance_of(Fixnum) + @array[2].should be_kind_of(Integer) end it 'includes the IP addresses as all the remaining values' do |