diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-07 16:35:33 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-07 16:35:33 +0000 |
commit | 75334db3c6479ea3cd7462d36ca5464d386f9c72 (patch) | |
tree | c97df2c7aa02f3d0e65524890924f1b294871073 /spec/ruby/library/net | |
parent | 5c7c6763f6cf7b4face107735071c5470e835476 (diff) |
Update to ruby/spec@6cf8ebe
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/library/net')
-rw-r--r-- | spec/ruby/library/net/ftp/quit_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/net/http/http/proxy_class_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/net/http/httpresponse/read_body_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/library/net/ftp/quit_spec.rb b/spec/ruby/library/net/ftp/quit_spec.rb index fdc3a2f795..8e3cb28b90 100644 --- a/spec/ruby/library/net/ftp/quit_spec.rb +++ b/spec/ruby/library/net/ftp/quit_spec.rb @@ -22,7 +22,7 @@ describe "Net::FTP#quit" do @ftp.last_response.should == "221 OK, bye\n" end - it "does not close the socket automagically" do + it "does not close the socket automatically" do @ftp.quit @ftp.closed?.should be_false end diff --git a/spec/ruby/library/net/http/http/proxy_class_spec.rb b/spec/ruby/library/net/http/http/proxy_class_spec.rb index 2aab804ed3..2d32a39f01 100644 --- a/spec/ruby/library/net/http/http/proxy_class_spec.rb +++ b/spec/ruby/library/net/http/http/proxy_class_spec.rb @@ -2,7 +2,7 @@ require_relative '../../../../spec_helper' require 'net/http' describe "Net::HTTP.proxy_class?" do - it "returns true if sels is a class created with Net::HTTP.Proxy" do + it "returns true if self is a class created with Net::HTTP.Proxy" do Net::HTTP.proxy_class?.should be_false Net::HTTP.Proxy("localhost").proxy_class?.should be_true end diff --git a/spec/ruby/library/net/http/httpresponse/read_body_spec.rb b/spec/ruby/library/net/http/httpresponse/read_body_spec.rb index 500155eb5b..a050eca594 100644 --- a/spec/ruby/library/net/http/httpresponse/read_body_spec.rb +++ b/spec/ruby/library/net/http/httpresponse/read_body_spec.rb @@ -76,7 +76,7 @@ describe "Net::HTTPResponse#read_body" do end describe "when passed buffer and block" do - it "rauses an ArgumentError" do + it "raises an ArgumentError" do @res.reading_body(@socket, true) do lambda { @res.read_body("") {} }.should raise_error(ArgumentError) end |