aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/library/socket/shared/partially_closable_sockets.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/library/socket/shared/partially_closable_sockets.rb')
-rw-r--r--spec/rubyspec/library/socket/shared/partially_closable_sockets.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/rubyspec/library/socket/shared/partially_closable_sockets.rb b/spec/rubyspec/library/socket/shared/partially_closable_sockets.rb
index 1309f15f85..1bdff08bf6 100644
--- a/spec/rubyspec/library/socket/shared/partially_closable_sockets.rb
+++ b/spec/rubyspec/library/socket/shared/partially_closable_sockets.rb
@@ -1,11 +1,11 @@
describe "partially closable sockets", shared: true do
- specify "if the write end is closed then the other side can read past EOF without blocking" do
+ it "if the write end is closed then the other side can read past EOF without blocking" do
@s1.write("foo")
@s1.close_write
@s2.read("foo".size + 1).should == "foo"
end
- specify "closing the write end ensures that the other side can read until EOF" do
+ it "closing the write end ensures that the other side can read until EOF" do
@s1.write("hello world")
@s1.close_write
@s2.read.should == "hello world"