Skip to content

Commit 03a566e

Browse files
herwinwandrykonchin
authored andcommitted
Fix descriptions for TCPSocket.gethostbyname
This is a class method, not an instance method
1 parent de3ba29 commit 03a566e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

library/socket/tcpsocket/gethostbyname_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require_relative '../fixtures/classes'
33

44
# TODO: verify these for windows
5-
describe "TCPSocket#gethostbyname" do
5+
describe "TCPSocket.gethostbyname" do
66
before :each do
77
suppress_warning do
88
@host_info = TCPSocket.gethostbyname(SocketSpecs.hostname)
@@ -52,7 +52,7 @@
5252
end
5353
end
5454

55-
describe 'TCPSocket#gethostbyname' do
55+
describe 'TCPSocket.gethostbyname' do
5656
it 'returns an Array' do
5757
suppress_warning do
5858
TCPSocket.gethostbyname('127.0.0.1').should be_an_instance_of(Array)

0 commit comments

Comments
 (0)