diff options
Diffstat (limited to 'spec/ruby/library/socket/socket/gethostbyaddr_spec.rb')
-rw-r--r-- | spec/ruby/library/socket/socket/gethostbyaddr_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/socket/socket/gethostbyaddr_spec.rb b/spec/ruby/library/socket/socket/gethostbyaddr_spec.rb index 08cadcf93b..639a318132 100644 --- a/spec/ruby/library/socket/socket/gethostbyaddr_spec.rb +++ b/spec/ruby/library/socket/socket/gethostbyaddr_spec.rb @@ -48,7 +48,7 @@ describe 'Socket.gethostbyaddr' do end describe 'with an explicit address family' do - it 'returns an Array when using a Fixnum as the address family' do + it 'returns an Array when using an Integer as the address family' do Socket.gethostbyaddr(@addr, Socket::AF_INET).should be_an_instance_of(Array) end @@ -105,7 +105,7 @@ describe 'Socket.gethostbyaddr' do end describe 'with an explicit address family' do - it 'returns an Array when using a Fixnum as the address family' do + it 'returns an Array when using an Integer as the address family' do Socket.gethostbyaddr(@addr, Socket::AF_INET6).should be_an_instance_of(Array) end |