Skip to content

Commit 27f204a

Browse files
andrykonchineregon
authored andcommitted
Polish spec titles in library/socket/addrinfo/initialize_spec.rb
1 parent c8887ed commit 27f204a

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

library/socket/addrinfo/initialize_spec.rb

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
@addrinfo.ip_port.should == 25
5454
end
5555

56-
it "returns the INET6 pfamily" do
56+
it "returns the specified family" do
5757
@addrinfo.pfamily.should == Socket::PF_INET6
5858
end
5959

60-
it "returns the INET6 afamily" do
60+
it "returns the specified family" do
6161
@addrinfo.afamily.should == Socket::AF_INET6
6262
end
6363

@@ -83,11 +83,11 @@
8383
@addrinfo.ip_port.should == 25
8484
end
8585

86-
it "returns the INET6 pfamily" do
86+
it "returns the specified family" do
8787
@addrinfo.pfamily.should == Socket::PF_INET6
8888
end
8989

90-
it "returns the INET6 afamily" do
90+
it "returns the specified family" do
9191
@addrinfo.afamily.should == Socket::AF_INET6
9292
end
9393

@@ -113,11 +113,11 @@
113113
@addrinfo.ip_port.should == 25
114114
end
115115

116-
it "returns the INET6 pfamily" do
116+
it "returns the specified family" do
117117
@addrinfo.pfamily.should == Socket::PF_INET6
118118
end
119119

120-
it "returns the INET6 afamily" do
120+
it "returns the specified family" do
121121
@addrinfo.afamily.should == Socket::AF_INET6
122122
end
123123

@@ -147,11 +147,11 @@
147147
@addrinfo.ip_port.should == 46102
148148
end
149149

150-
it "returns the INET pfamily" do
150+
it "returns the specified family" do
151151
@addrinfo.pfamily.should == Socket::PF_INET
152152
end
153153

154-
it "returns the INET afamily" do
154+
it "returns the specified family" do
155155
@addrinfo.afamily.should == Socket::AF_INET
156156
end
157157

@@ -217,11 +217,11 @@
217217
@addrinfo.ip_port.should == 46102
218218
end
219219

220-
it "returns the INET pfamily" do
220+
it "returns the specified family" do
221221
@addrinfo.pfamily.should == Socket::PF_INET
222222
end
223223

224-
it "returns the INET afamily" do
224+
it "returns the specified family" do
225225
@addrinfo.afamily.should == Socket::AF_INET
226226
end
227227

@@ -247,11 +247,11 @@
247247
@addrinfo.ip_port.should == 46102
248248
end
249249

250-
it "returns the INET pfamily" do
250+
it "returns the specified family" do
251251
@addrinfo.pfamily.should == Socket::PF_INET
252252
end
253253

254-
it "returns the INET afamily" do
254+
it "returns the specified family" do
255255
@addrinfo.afamily.should == Socket::AF_INET
256256
end
257257

@@ -311,11 +311,11 @@
311311
@addrinfo.ip_port.should == 46102
312312
end
313313

314-
it "returns the INET pfamily" do
314+
it "returns the specified family" do
315315
@addrinfo.pfamily.should == Socket::PF_INET
316316
end
317317

318-
it "returns the INET afamily" do
318+
it "returns the specified family" do
319319
@addrinfo.afamily.should == Socket::AF_INET
320320
end
321321

@@ -514,13 +514,13 @@
514514
@sockaddr = Socket.sockaddr_in(80, '127.0.0.1')
515515
end
516516

517-
it 'returns an Addrinfo with :PF_INET family' do
517+
it 'returns an Addrinfo with the specified family' do
518518
addr = Addrinfo.new(@sockaddr, :PF_INET)
519519

520520
addr.pfamily.should == Socket::PF_INET
521521
end
522522

523-
it 'returns an Addrinfo with :INET family' do
523+
it 'returns an Addrinfo with the specified family' do
524524
addr = Addrinfo.new(@sockaddr, :INET)
525525

526526
addr.pfamily.should == Socket::PF_INET
@@ -544,13 +544,13 @@
544544
@sockaddr = Socket.sockaddr_in(80, '127.0.0.1')
545545
end
546546

547-
it 'returns an Addrinfo with "PF_INET" family' do
547+
it 'returns an Addrinfo with the specified family' do
548548
addr = Addrinfo.new(@sockaddr, 'PF_INET')
549549

550550
addr.pfamily.should == Socket::PF_INET
551551
end
552552

553-
it 'returns an Addrinfo with "INET" family' do
553+
it 'returns an Addrinfo with the specified family' do
554554
addr = Addrinfo.new(@sockaddr, 'INET')
555555

556556
addr.pfamily.should == Socket::PF_INET

0 commit comments

Comments
 (0)